showing the current branch in git
You're probably doing this:
$ git branch | grep \*
* master
Try this:
$ git rev-parse --symbolic-full-name HEAD
refs/heads/master
Substantial typing required, though.
You're probably doing this:
$ git branch | grep \*
* master
Try this:
$ git rev-parse --symbolic-full-name HEAD
refs/heads/master
Substantial typing required, though.