Last Updated: December 14, 2016
·
2.766K
· tim_heap

Add multiple urls to a git remote

Push to both Github and Bitbucket with the one push command by adding multiple urls to the one remote:

git config --add remote.origin.url git@host.com:user/repo.git

List all of your remotes and their URLs using:

git remote -v