From 1aa8e8940336aa80eccdd8dd9b46b0e6547e7127 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Sun, 21 May 2023 02:24:18 -0400 Subject: git: Allow Initial Branch to be configurable --- plumbing/reference.go | 1 + 1 file changed, 1 insertion(+) (limited to 'plumbing') 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 -- cgit