diff options
author | techknowlogick <techknowlogick@gitea.io> | 2023-05-21 02:24:18 -0400 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2023-05-21 02:24:39 -0400 |
commit | 1aa8e8940336aa80eccdd8dd9b46b0e6547e7127 (patch) | |
tree | c08670331d0845a58d33166079d7e0d665ae610d /plumbing/reference.go | |
parent | 1dbd729a387edb61c89f088cd68040085e6c81bb (diff) | |
download | go-git-1aa8e8940336aa80eccdd8dd9b46b0e6547e7127.tar.gz |
git: Allow Initial Branch to be configurable
Diffstat (limited to 'plumbing/reference.go')
-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 |