News for hackers. Stuff that matters.
Re:Git koans by fr0sty on Tuesday April 09, 2013 @10:10AM (#5518106)
git branch gives you a nice asterisk too: $git branch * MyBranch NotMyBranch

It prints the branch as the first line of git status: $git status # On branch Foo ...

It also ships with a 'bash-competion' file which gives you a very simple way to disply the current branch (among other things) rather simply.

And of course you can also create your own alias if it is something you wish to do often.

There are no comments on this comment yet.