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
# how to push to two remotes at once by adding a repo called 'all': | |
git clone git://original/repo.git | |
git remote add all git://original/repo.git | |
git remote set-url --add --push all git://another/repo.git | |
git remote set-url --add --push all git://original/repo.git | |
# git remote -v should list two push repos for 'all' |