diff --git a/main.go b/main.go index e0f4c95..5c99f6f 100644 --- a/main.go +++ b/main.go @@ -123,12 +123,9 @@ func Push( auth *githttp.BasicAuth, remote *git.Remote, ) error { - refspec := fmt.Sprintf("+refs/heads/*:refs/heads/*") - return remote.Push(&git.PushOptions{ RemoteName: DefaultRemoteName, Auth: auth, - RefSpecs: []config.RefSpec { config.RefSpec(refspec) }, }) }