Created
April 15, 2020 18:43
-
-
Save nkrumm/e534ea4fb5fa2a82166d6ad150cad87c to your computer and use it in GitHub Desktop.
Add multiple git 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
git remote add all git@gitlab.labmed.uw.edu:nkrumm/demux-nf.git | |
git remote set-url --add --push all git@gitlab.labmed.uw.edu:nkrumm/demux-nf.git | |
git remote set-url --add --push all https://github.com/nkrumm/demux-nf | |
git push -u all master | |
# now `git push` will update both remotes! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment