News for hackers. Stuff that matters.
Re:Git koans by Anderkent on Monday April 08, 2013 @04:49PM (#5514492)
`git branch` doesnt do that. `git branch | less` followed by search might, if I remember some part of the branch name well enough to search for it.

Printing all the branches and having me scroll two screens up to find the one that's in color is not a solution to 'what branch am i on'

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.

Re:Git koans by philwelch on Tuesday April 09, 2013 @12:08PM (#5519061)
Why are you keeping hundreds of branches open at a time?