I don't seem to have one of those.  I guess I could just use the
contents of `.git/refs/heads`, but it would be better to use an API of
some sort than to rely on git's internal file structure.  Though that
does seem to be git's API in some cases, so maybe it's okay?  How to


On Aug 24, 4:03 pm, Konstantin Khomoutov <khomou...@gmail.com> wrote:
> On Aug 24, 10: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.
> It appears that you could parse the .git/info/refs file.

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