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
{{ message }}
Repository navigation
Commit 8f0c2fa
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# gitst
1
+
# Gitst
2
2
**A real-time, glanceable git status monitor for the terminal**
3
3
4
4
<palign="center">
@@ -7,7 +7,7 @@
7
7
8
8
Gitst is intended to sit in one pane of a multi-pane terminal setup (using tools like Dantty, tmux, screen, herdr, WezTerm, iTerm2, etc.) next to for instance an editor, a coding agent, and a shell. Gitst shows in real-time what is happening to the repository as it happens: changed files, commits, pushes, fetches, merges, and rebases.
9
9
10
-
By design, gitst*monitors* git, it doesn't *manipulate* it. This comes with a few benefits, especially for team work scenarios when there's lots of team activity on the repo, and also for personal use in conjunction with coding agents. Being a git monitor, gitst never changes your git repository (apart from `git fetch`), and it never takes over git's `index.lock`, so it cannot (by design) get in the way or obstruct git commands run elsewhere. This is useful for at least two scenarios: 1) when you might want the coding agent to control git but still see what's going on, or 2), like me, you just want to control git manually.
10
+
By design, Gitst*monitors* git, it doesn't *manipulate* it. This comes with a few benefits, especially for team work scenarios when there's lots of team activity on the repo, and also for personal use in conjunction with coding agents. Being a git monitor, Gitst never changes your git repository (apart from `git fetch`), and it never takes over git's `index.lock`, so it cannot (by design) get in the way or obstruct git commands run elsewhere. This is useful for at least two scenarios: 1) when you might want the coding agent to control git but still see what's going on, or 2), like me, you just want to control git manually.
11
11
12
12
## Install
13
13
@@ -17,7 +17,7 @@ With Homebrew (macOS and Linux):
17
17
brew install dfallman/tap/gitst
18
18
```
19
19
20
-
Prebuilt binaries for macOS, Linux and Windows are on the
20
+
Prebuilt binaries for macOS, Linux, and Windows are on the
21
21
[releases page](https://github.com/dfallman/gitst/releases). Or build from source
22
22
with Cargo:
23
23
@@ -30,43 +30,43 @@ Requires `git` on your `PATH`.
30
30
## Use
31
31
32
32
Run `gitst` inside a repository, or `gitst <path>`. If the directory is not a
33
-
repository yet, gitst waits and picks it up once `git init` or `git clone` has
33
+
repository yet, Gitst waits and picks it up once `git init` or `git clone` has
34
34
run there.
35
35
36
36
It does its best to adapt to the terminal window it operates in: sections collapse, borders give way to rules, and columns
37
37
drop out as the pane shrinks, down to a single `branch ↑1 ●` line. Mouse support is enabled by default, so you can easily click around in the interface, collapse and expand panels, and view details by clicking on items. Gitst is also entirely operable using its keyboard shortcuts (see below).
38
38
39
39
The dashboard has five sections:
40
40
41
-
-**Changes**: staged, unstaged, untracked and conflicted files, with `+`/`−`
41
+
-**Changes**: staged, unstaged, untracked, and conflicted files, with `+`/`−`
42
42
line counts. A `•` marks a file that just changed.
43
43
-**Activity**: a timeline of commits, amends, checkouts, merges, rebases,
44
-
resets, pulls, cherry-picks, pushes, fetches, staging, stashes and file edits.
44
+
resets, pulls, cherry-picks, pushes, fetches, staging, stashes, and file edits.
45
45
Edits that come within a minute of each other merge into one row.
46
46
-**Commits**: recent history, with `↑` on commits not yet pushed.
47
47
-**Branches** and **Stashes**: folded by default.
48
48
49
49
Warnings appear under the header for possible secrets, conflicts, an
50
-
`index.lock` held for more than 10 seconds, failed fetches and config errors.
50
+
`index.lock` held for more than 10 seconds, failed fetches, and config errors.
51
51
52
52
### Secret warnings
53
53
54
-
gitst looks for things that should not be pushed: `.env` files, SSH and other
54
+
Gitst looks for things that should not be pushed: `.env` files, SSH and other
55
55
private keys, key stores, credentials files, Terraform state, and tokens with a
-**Click** a section title to fold it. The **wheel** scrolls what is under the pointer.
@@ -103,9 +103,9 @@ gitst --version
103
103
104
104
## Config
105
105
106
-
Optional. gitst reads the first of these that exists:
106
+
Optional. Gitst reads the first of these that exists:
107
107
`$XDG_CONFIG_HOME/gitst/config.toml` (when that is set),
108
-
`%APPDATA%\gitst\config.toml` (Windows) and `~/.config/gitst/config.toml`.
108
+
`%APPDATA%\gitst\config.toml` (Windows), and `~/.config/gitst/config.toml`.
109
109
All keys are optional; these are the defaults:
110
110
111
111
```toml
@@ -120,30 +120,30 @@ leak_scan = true # warn about possible secrets
120
120
leak_allow = [] # paths never warned about (.gitignore syntax)
121
121
```
122
122
123
-
Section names for `collapsed` are `changes`, `activity`, `commits`, `branches`
123
+
Section names for `collapsed` are `changes`, `activity`, `commits`, `branches`,
124
124
and `stashes`. Unknown keys and invalid values are named in the UI and keep their
125
125
defaults; the rest of the file still applies.
126
126
127
127
## Notes
128
128
129
-
- Colours come from your terminal's own palette, so gitst follows light and dark
130
-
themes. When the terminal reports its background colour, gitst uses it for
129
+
- Colours come from your terminal's own palette, so Gitst follows light and dark
130
+
themes. When the terminal reports its background colour, Gitst uses it for
131
131
subtle tints.
132
-
-gitst follows `status.showUntrackedFiles`. When it is not set, untracked
132
+
-Gitst follows `status.showUntrackedFiles`. When it is not set, untracked
133
133
directories are listed file by file.
134
-
- Diffs are always read plain, whatever your `color.*`, `diff.external` or pager
134
+
- Diffs are always read plain, whatever your `color.*`, `diff.external`, or pager
135
135
settings. Untracked symlinks show their target, and FIFOs and devices are never
136
136
read.
137
137
- Background fetches run without a terminal, so they can never prompt for a
138
-
password. If a fetch fails, gitst shows `fetch failed: auth` (or `offline`,
138
+
password. If a fetch fails, Gitst shows `fetch failed: auth` (or `offline`,
139
139
`timeout`, or git's message) and retries with backoff, doubling from the fetch
140
140
interval up to an hour (5, 10, 20, then 60 minutes by default). A fetch that
141
141
runs longer than a minute is stopped.
142
142
- Pushes appear in Activity when they were made from this clone. Git only
143
143
records them in the remote-tracking reflog.
144
144
- Changes are picked up by watching the working tree and `.git`, skipping
145
-
ignored paths. If the watcher cannot start, gitst polls every 3 seconds.
145
+
ignored paths. If the watcher cannot start, Gitst polls every 3 seconds.
146
146
147
-
## Note on AI use
148
-
I've been writing code for over 30 years, and lately LLM agent-assisted coding has rekindled my sense of awe at what code can do. This project was built in Rust using a range of tools, including Anthropic's Claude Code. For me, these tools are simply means to move faster, explore more ideas, and test those ideas and implementations more rigorously than I could (or would ever do) on my own.
147
+
## How it's made
148
+
Gitst is written in Rust, with help from tools like Anthropic's Claude Code. I've been writing code for over 30 years, and working with coding agents has rekindled my sense of awe at what code can do. They let me move faster, try more ideas, and test them more thoroughly than I would on my own.
0 commit comments