From 3676190143dc75d1fc79f2ae240093c59de5cbe2 Mon Sep 17 00:00:00 2001 From: dadada Date: Tue, 31 May 2022 22:23:53 +0200 Subject: [PATCH] test refspec --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 8c65af9..7a6edf0 100644 --- a/main.go +++ b/main.go @@ -123,7 +123,7 @@ func Push( auth *githttp.BasicAuth, remote *git.Remote, ) error { - refspec := fmt.Sprintf("+refs/heads/*:refs/heads/%s/*", DefaultRemoteName) + refspec := fmt.Sprintf("+refs/heads/*:refs/heads/*") return remote.Push(&git.PushOptions{ RemoteName: DefaultRemoteName,