libgit2sharp icon indicating copy to clipboard operation
libgit2sharp copied to clipboard

How to get default branch name?

Open sebastianslutzky opened this issue 3 years ago • 0 comments

I am used to get the default branch name by running git rev-parse --abbrev-ref origin/HEAD

but I can't find the equivalent on libgi2sharp is this possible?

sebastianslutzky avatar Nov 12 '22 15:11 sebastianslutzky