What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-01-31 21:31:20
repo from bitbucket to github
cd $HOME/Code/repo-directory # Rename Origin to bitbucket git remote rename origin bitbucket # Add the origin of your new github repository git remote add origin https://github.com/<username>/<repo-name>.git # Push ypur branch master to your g... Add solution -
Other 2021-11-05 11:31:13
rename heroku remote
$ git remote rename heroku heroku-staging Add solution -
Shell/Bash 2021-11-03 17:51:11
git push to another repository
Create a new repo at github. Clone the repo from fedorahosted to your local machine. git remote rename origin upstream git remote add origin URL_TO_GITHUB_REPO git push origin master Now you can work with it just like any other github repo. To pull in pa... Add solution -
Shell/Bash 2021-09-06 23:09:01
github push code from one repo to another
Create a new repo at github. Clone the repo from fedorahosted to your local machine. git remote rename origin upstream git remote add origin URL_TO_GITHUB_REPO git push origin master Now you can work with it just like any other github repo. To pull in pa... Add solution -
Shell/Bash 2021-08-30 12:06:02
git rename remote
git remote rename old-remote-name new-remote-name Add solution