test refspec

This commit is contained in:
Tim Schubert 2022-05-31 22:23:53 +02:00
parent b015a0c71e
commit 3676190143
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -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,