Live data from Hacker News

GitUI: Terminal UI for Git

github.com

91–94 of 94 posts

Re: GitUI: Terminal UI for Git

#91
post #63
post #58

Earlier quoted context omitted.

People who use commit -a terrify me. The value of a tool like this is it makes it trivial to review changes, stashes, etc. in a convenient way without needing to look up commands. This tool in particular is built to handle huge repos which most other front ends straight up can't. And it does it with a 1mb binary and almost no ram.

Definitely agreed. My workflow for a commit is always: git status git diff HEAD git add (usually -u) git commit I catch so many mistakes checking the diff before committing. Just seeing the code in a different context helps things pop up.

git add -p is my default. Usually what I have been up to belongs in 2-3 separate commits, each with a good commit message. For example a bug found and fixed while developing a feature always goes in its own commit.

Re: GitUI: Terminal UI for Git

#92

Earlier quoted context omitted.

It only does a fraction of what magit does. I just use it for scrolling though the commit history, occasionally searching messages, and it's my tool of choice for staging/unstaging hunks. It's the only tool I use to compliment the git cli.

I see. have you tried magit as a comparison? while magit can do everything it's got a very easy interface for most tasks. I don't use emacs for anything but magit to the point where i have a magit command on the command line to open up emacs in the current directory and then a spc-g-g opens up magit. it's that good.

So I use neovim as my editor, I'm familiar with fugitive but only use it for blaming.

I just prefer switching to my git tab in tmux and using the cli or tig deepening on what I'm doing.

Re: GitUI: Terminal UI for Git

#93
post #60

Earlier quoted context omitted.

Have you used magit? If there's a better one out there than magit's, I want to know.

I haven't, but I don't use emacs. Crash course: `mkdir -p ~/.vim/pack/git/start` `git clone https://github.com/tpope/vim-fugitive ~/.vim/pack/git/start/vim-fugitive` Open a file under version control and `:Git blame` The commit shas, author, and date appear in a window to the left. `Ctrl+w Ctrl+w` to switch windows. Both windows scroll up and down together. Pressing `o` on a commit sha opens the full commit log and p…

okay, thanks very much for the overview!

Re: GitUI: Terminal UI for Git

#94
post #5

Magit is an excellent and widely used Git TUI.

But only available in Emacs

Emacs is basically a textual application library (a curses alternative). It's often perceived as a text editor, but not using Magit because it's implemented on Emacs is like not using X because it's implemented on curses
Post reply on HN