git-colabor 0.1.8 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/README.md +2 -3
  2. package/dist/cli.cjs +1094 -870
  3. package/dist/index.cjs +408 -179
  4. package/package.json +1 -1
package/README.md CHANGED
@@ -82,11 +82,10 @@ Selecting co-authors rewrites the commit template (`commit.template` / `~/.gitme
82
82
  | `identity add` | `--name`, `--email` (required); `--key <path>` (import), `--host`, `--default`. |
83
83
  | `identity rm <id>` | Remove from the identity map (logs out first, best-effort; imported identities are also hidden from future auto-imports). |
84
84
  | `identity import` | Add every distinct **committer** from the repo history as a key-less identity (idempotent, skips hidden emails; driven automatically by the extension on repo open). |
85
- | `identity set <id>` | Edit in place: `--name <n>`, `--email <e>`, `--key <path>` (re-reference), `--no-key` (clear), `--scope user\|machine\|project`, `--gpg-key <key>` (bind a secret GPG signing key — fingerprint, key id or email; stored as the fingerprint), `--no-gpg-key` (unbind). |
85
+ | `identity set <id>` | Edit in place: `--name <n>`, `--email <e>`, `--key <path>` (re-reference the push/auth key), `--no-key` (clear), `--scope user\|machine\|project`, `--sign-key <path>` (bind a DEDICATED SSH signing key — separate from the push key), `--gpg-key <key>` (bind a secret GPG signing key — fingerprint, key id or email; stored as the fingerprint), `--no-sign-key` / `--no-gpg-key` (unbind the sign key; signing falls back to the push key). |
86
86
  | `identity sign <id>` / `identity sign [id] --off` | Opt-in commit signing with the identity's key — its bound GPG key (`gpg.format=openpgp`), else its SSH key (`gpg.format=ssh`) — writes `commit.gpgsign=true`, `gpg.format`, `user.signingKey`. While on, `identity use` re-binds to the newly applied identity's key (no key → off). `--off` drops colabor's keys and, when global/system config would still sign, pins `commit.gpgsign=false` locally — off means this repo does not sign. |
87
87
  | `identity gpg-keys` | Secret GPG keys usable for signing (via `gpg.program`, default `gpg`): fingerprint + user ids. |
88
- | `identity logout [id]` | Remove key from `ssh-agent` — the key file itself is never touched; repo stays configured (use `revert` for that). |
89
- | `identity revert` | Restore the repo's pre-tool `user.*` / `core.sshCommand` / `commit.template` from the first-touch backup, clear markers. |
88
+ | `identity logout [id]` | Remove key from `ssh-agent` (the key file is never touched) and clear the identity's git-config layer: `user.name`/`user.email` on match, plus any `core.sshCommand` / signing keys its previous `use` left in the repo — even after the config moved on to someone else. Another person's committer config always survives. |
90
89
  | `identity status` | Per-repo snapshot: active identity, managed markers, `heldBy`, selected + available co-authors, and the **effective** commit signing (`signing`: `enabled`, `format`, `key`, the `scope`/`origin` file `commit.gpgsign` comes from, `managed` when colabor turned it on, and the GPG key's `keyEmails`). |
91
90
  | `identity audit` | `--repo <path>`, `--since <date>`, `--tail <n>` filters over the audit log. |
92
91
  | `identity doctor` | Self-check: binaries, identity map, key dir, agent, askpass bundle, repo markers. |