forked from libgit2/libgit2sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
git branch
nulltoken edited this page May 28, 2011
·
2 revisions
$ git branch
using (var repo = new Repository("path/to/your/repo"))
{
foreach(Branch b in repo.Branches.Where(b => !b.IsRemote))
{
Console.WriteLine(string.Format("{0}{1}", b.IsCurrentRepositoryHead ? "*" : " ", b.Name));
}
}
To be done
To be done
To be done
To be done
To be done