You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+49-25Lines changed: 49 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
**Run git across all child repositories — fast.**
4
4
5
-
Docs: **https://gg.chtnnhfoundation.org/**
5
+
Current release: **1.2.0** · Docs: **https://gg.chtnnhfoundation.org/**
6
6
7
7
`gg` discovers git repos under a directory and runs git commands (or built-in insights) in parallel. One CLI for multi-checkout workspaces, client folders, and polyrepos.
8
8
@@ -19,46 +19,57 @@ gg --only-dirty pull
19
19
# target an alias or group
20
20
gg -g work fetch --all
21
21
22
+
# show paths next to repo names (also: show_path = true in config)
23
+
gg --show-path ov
24
+
22
25
# top commits across selection
23
26
gg commits -n 10
24
27
```
25
28
26
29
## Install
27
30
28
-
### From source
31
+
### Homebrew (tap)
29
32
30
33
```bash
31
-
cargo install --path . --locked
32
-
# binary: gg
34
+
brew tap chtnnh/tap # first time; may need: brew trust chtnnh/tap
35
+
brew install git-gist
36
+
# or: brew install chtnnh/tap/git-gist
37
+
38
+
brew update && brew upgrade git-gist # later releases
33
39
```
34
40
35
-
### Homebrew (tap)
41
+
If `gg version` still looks old after upgrading, Homebrew’s `gg` may be shadowed by `~/.cargo/bin/gg`. Check with `which -a gg`, or use `/opt/homebrew/opt/git-gist/bin/gg` (Apple Silicon) / `/usr/local/opt/git-gist/bin/gg` (Intel).
42
+
43
+
### cargo-dist shell / PowerShell installer
36
44
37
45
```bash
38
-
brew install chtnnh/tap/git-gist
46
+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/chtnnh/git-gist/releases/latest/download/git-gist-installer.sh | sh
39
47
```
40
48
41
-
### Debian / RPM
49
+
Windows (PowerShell):
42
50
43
-
Download `.deb` / `.rpm` from [GitHub Releases](https://github.com/chtnnh/git-gist/releases), or build with `cargo deb` / `cargo generate-rpm` (see [packaging/README.md](packaging/README.md)).
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/chtnnh/git-gist/releases/latest/download/git-gist-installer.sh | sh
56
-
```
66
+
Download `.deb` / `.rpm` from [GitHub Releases](https://github.com/chtnnh/git-gist/releases), or build with `cargo deb` / `cargo generate-rpm` (see [packaging/README.md](packaging/README.md)).
|`overview`|`ov`| Dashboard: branch, dirty/clean, ahead/behind, age, in-progress (semantic colors; `--show-path` adds path to the repo column) |
10
+
|`list`|`ls`| Discovered / selected repos (`--refresh` bypasses cache; always prints name + path) |
11
11
|`info [PATH]`|| Detailed status; optional path still respects `--only-*` / `--in` when those are set |
12
12
|`commits -n N`|| Top-N commits across selection |
13
13
|`worktrees`|| Worktree listing |
@@ -55,6 +55,6 @@ gg pull --rebase
55
55
gg git -- status # escape hatch when a name collides with a builtin
56
56
```
57
57
58
-
Put global flags **before** the git verb: `gg --dry-run status` (not `gg status --dry-run`).
58
+
Put global flags **before** the git verb: `gg --dry-run status` (not `gg status --dry-run`). If a common global flag appears after the verb, `gg` errors with a hint instead of forwarding it to git.
59
59
60
60
Exit code is non-zero if any selected repo fails (unless the selection is empty).
Requires [`chtnnh/homebrew-tap`](https://github.com/chtnnh/homebrew-tap). On Homebrew 6+, you may need `brew trust chtnnh/tap` once.
21
12
13
+
Upgrade later:
14
+
15
+
```bash
16
+
brew update && brew upgrade git-gist
17
+
gg version
18
+
```
19
+
20
+
If `gg version` still shows an older build after upgrading, another `gg` may be earlier on your `PATH` (often `~/.cargo/bin/gg` from `cargo install`). Check with:
21
+
22
+
```bash
23
+
which -a gg
24
+
```
25
+
26
+
Prefer the Homebrew binary, reorder `PATH`, or `cargo uninstall git-gist` if you no longer need the Cargo install.
After upgrading, if `gg version` is stale, check `which -a gg` — a Cargo install under `~/.cargo/bin` often shadows Homebrew. See [Install](./install.md).
29
+
27
30
### Debian / RPM
28
31
29
32
Attached by [`.github/workflows/packages.yml`](../../.github/workflows/packages.yml) after a Release is published. Locally: `cargo deb` / `cargo generate-rpm` (metadata in `Cargo.toml`).
@@ -47,4 +50,4 @@ Optional later: nixpkgs / NUR PRs.
0 commit comments