diff options
author | Paulo Gomes <pjbgf@linux.com> | 2023-05-23 09:23:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-23 09:23:27 +0100 |
commit | 1feac1b95958fbce7eabffa671f3fc6aab2a8258 (patch) | |
tree | 69cfb8382a3fac7053e396e151c27027f82600ec /plumbing | |
parent | 90bfbf2c5cb34da7cfa59e09275d34b159aa57f3 (diff) | |
parent | 1aa8e8940336aa80eccdd8dd9b46b0e6547e7127 (diff) | |
download | go-git-1feac1b95958fbce7eabffa671f3fc6aab2a8258.tar.gz |
Merge pull request #764 from techknowlogick/init-options
git: Allow Initial Branch to be configurable
Diffstat (limited to 'plumbing')
-rw-r--r-- | plumbing/reference.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plumbing/reference.go b/plumbing/reference.go index eef11e8..aeb4227 100644 --- a/plumbing/reference.go +++ b/plumbing/reference.go @@ -126,6 +126,7 @@ func (r ReferenceName) Short() string { const ( HEAD ReferenceName = "HEAD" Master ReferenceName = "refs/heads/master" + Main ReferenceName = "refs/heads/main" ) // Reference is a representation of git reference |