On Tue, Aug 24, 2010 at 2:24 PM, Ted <cecinemapasdera...@gmail.com> wrote:
> Is there some way to specifically get a list of branches, without the
> annotation that `git branch` normally adds?  I'd like to write a
> script that loops over branches, but it shouldn't be dependent on the
> presentation format.

ls -1 .git/refs/heads

Note that it's dash one, not dash ell

Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Github: http://github.com/rubyredrick
Twitter: @RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to