Last active
November 27, 2017 05:41
-
-
Save netravnen/f4624168829fd950f042c65c68efa7d9 to your computer and use it in GitHub Desktop.
When doing 'git push origin' on current branch, will push branch to all specified remotes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[remote "gitlab"] | |
url = https://gitlab.com/username/repository-name.git | |
fetch = +refs/heads/*:refs/remotes/gitlab/* | |
[remote "github"] | |
url = https://github.com/username/repository-name.git | |
fetch = +refs/heads/*:refs/remotes/github/* | |
[remote "bitbucket"] | |
url = https://bitbucket.org/username/repository-name.git | |
fetch = +refs/heads/*:refs/remotes/bitbucket/* | |
[remote "origin"] | |
url = https://gitlab.com/username/repository-name.git | |
url = https://github.com/username/repository-name.git | |
url = https://bitbucket.org/username/repository-name.git | |
[branch "master"] | |
remote = github | |
merge = refs/heads/master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment