From: "Ramkumar Ramachandra"
Sent: Friday, May 24, 2013 3:19 PM
'git branch' shows which branch you are currently on with an '*', but
'git for-each-ref' misses this feature. So, extend the format with
%(HEAD) to do exactly the same thing.
Maybe 'isHEAD' as a better name, or 'ifHEAD', or some
'git branch' shows which branch you are currently on with an '*', but
'git for-each-ref' misses this feature. So, extend the format with
%(HEAD) to do exactly the same thing.
Now you can use the following format in for-each-ref:
%C(red)%(HEAD)%C(reset) %C(green)%(refname:short)%C(reset)
to di
2 matches
Mail list logo