On Sat, Jan 03, 2009 at 06:18:36PM -0800, Karl Chen <quarl@xxxxxxxxxxxxxxx> wrote: > How about an option to git-symbolic-ref that gets rid of the > refs/heads/ ? Make an alias? git config alias.cb '!sh -c "git symbolic-ref HEAD|sed s,refs/heads/,,"' $ git cb master (Where cb can stand for 'current branch', for example.)
Attachment:
pgp6yG6clmBTQ.pgp
Description: PGP signature