Re: git-branch --print-current
From: Karl Chen <hidden>
Date: 2016-06-15 22:45:51
quoted
quoted
quoted
quoted
On 2009-01-01 20:26 PST, David Aguilar writes:
David> You might want to use 'git symbolic-ref' instead.
David> $ git symbolic-ref HEAD | sed -e 's,refs/heads/,,'
David> master
Thanks, that is better.
How about an option to git-symbolic-ref that gets rid of the
refs/heads/ ?