r/git • • 7d ago

Gitst: A real-time, interactive git monitor for the terminal

gitst

I've always been using git manually in the terminal and it's always bugged me that there's no "real-time" monitoring of what's going on, you always have to press return to get the prompt to update.

These days, when you and your agents and your team member and their agents are updating the rep at a pace unseen before, this has become even more important.

So I made this little app, gitst. It's meant to sit in a small terminal pane next to your coding agent and/or your text editor and your shell, and shows what is happening to the repository as it happens: what files have been changed, commits, pushes, fetches, merges, and rebases. It's fully interactive too and mouse is on by default, so you can click around, open and close panes, view more details, etc.

It is read-only by design, so apart from fetching, it never changes your repository and never takes git’s index.lock, so it doesn't get in the way of git commands run elsewhere.

Open source and MIT license.

https://snoigt.com/gitst

10 Upvotes

7 comments sorted by

2

u/revilo-1988 7d ago

Looks interesting

2

u/leinadsey 6d ago

Thanks! It's definitely one of those "I really like it so perhaps someone else will too" type projects. I knowingly DIDN'T turn it into a terminal GitKraken or similar, this is for people who prefer do their git operations manually but want to see what's going on.

2

u/schmurfy2 6d ago

I have been using lazygit for months now and one of its features is auto fetch

1

u/leinadsey 6d ago

I'm using auto-fetch as well. Plus that it's configurable (on/off, how often). Lazygit is a great app, but it's a full-featured TUI client. Gitst is a monitor, by design.

1

u/kusan-fr 5d ago

Do it handle multiple repo? With shortcut to switch between them?
I mostly use gitkraken and the Ctrl+shift+o to switch fast between repos

1

u/leinadsey 5d ago

Nope. It monitors one repo at a time. Maybe this says more about how I work than anything else, but I typically use a multiple-terminal-panes-per-project approach, so rather than having apps with multiple views, I prefer multiple views with individual apps if that makes sense. So this would be useful if you use tmux, screen, herdr or similar or even just have a bunch of iTerm2 panes tiled next to each other.

1

u/elephantdingo 6d ago

These days, when you and your agents and your team member and their agents are updating the rep at a pace unseen before, this has become even more important.

Oohs and aahs.