Skip to content

Commit

Permalink
Merge branch 'pc/use-the-right-remote' into 'master'
Browse files Browse the repository at this point in the history
Use the right remote source when pushing

See merge request yakshaving.art/git-pull-mirror!23
  • Loading branch information
Ilya Frolov committed Jul 17, 2018
2 parents 6deb635 + 3f4c99e commit c7885e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func (r Repository) Push() error {
Auth: auth,
RemoteName: TargetRemote,
RefSpecs: []config.RefSpec{
"+refs/heads/*:refs/heads/*",
"+refs/remotes/origin/*:refs/heads/*",
"+refs/tags/*:refs/tags/*",
},
})
Expand Down

0 comments on commit c7885e7

Please sign in to comment.