Re:A heads up display for git
by r3bl on Wednesday August 26, 2015 @07:24AM
(#10122199)
Looks very promising! Thanks, we really missed something like this in Git.
[ Parent
| on HN ]
Re:A heads up display for git
by TsiCClawOfLight on Wednesday August 26, 2015 @07:43AM
(#10122261)
I find the ZSH git extension to work very well.
Is that configurable? That is to say, can I change what's printed to the prompt to add more info like # of files added/removed/modified? I looked into it a little bit it looked hard-coded.
yeah it's pretty configurable, the syntax to do so is rather ugly though. I'm using it like this: https://gist.github.com/lorenzhs/c8b442ce831f0211f3d8 which shows me whether I have staged and unstaged changes, the current branch and commit, rebase/... status, etc.
I don't remember from where I got this config, it's a mix of things I found online.
Interesting, thanks!
Re:A heads up display for git
by michaelallen on Wednesday August 26, 2015 @11:20AM
(#10123495)
Thanks :-) It's just something I've been using for a while so very tailored to my needs. YMMV.