Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # rename origin remote
- git remote rename origin github
- # add the gitlab remote (for the love of everything that’s holy, use ssh)
- git remote add bitbucket <remote link for bitbucket>
- # push existing code to new remote
- git push -u bitbucket —all
- # let’s magic
- git config -e
- # add this in the file
- [remote “origin”]
- url = git@github.com:username/reponame.git
- url = <remote link for bitbucket>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement