test refspec
This commit is contained in:
parent
b015a0c71e
commit
3676190143
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -123,7 +123,7 @@ func Push(
|
||||||
auth *githttp.BasicAuth,
|
auth *githttp.BasicAuth,
|
||||||
remote *git.Remote,
|
remote *git.Remote,
|
||||||
) error {
|
) error {
|
||||||
refspec := fmt.Sprintf("+refs/heads/*:refs/heads/%s/*", DefaultRemoteName)
|
refspec := fmt.Sprintf("+refs/heads/*:refs/heads/*")
|
||||||
|
|
||||||
return remote.Push(&git.PushOptions{
|
return remote.Push(&git.PushOptions{
|
||||||
RemoteName: DefaultRemoteName,
|
RemoteName: DefaultRemoteName,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue