On Friday, January 23, 2015 at 4:00:00 PM UTC+1, Wolfram Volpi wrote:
> Is there a way git log --graph could indicate the current branch?

I might be side-stepping the question here, but what I personally use is 
some form of git-prompt [1] which extends the PS1/prompt to always show the 
current branch of a repository:

[~/temp]$ cd foo
[master][~/temp/foo]$ git checkout dev
Switched to branch 'dev'

Lots of shell enhancements like oh-my-zsh [2] come with stuff like this 
built in. 

For Windows users there is posh-git [3].

[1] https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh
[2] https://github.com/robbyrussell/oh-my-zsh
[3] https://github.com/dahlbyk/posh-git

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to