Answers for "move from github to bitbucket existing repository"

0

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 github repo
git push origin master
# Remove the old origin
git remote rm bitbucket
Posted by: Guest on April-14-2020
0

move repository from Bitbucket to GitHub

1. git clone https://[email protected]/USER/PROJECT.git
2. cd PROJECT
3. git remote add upstream https://github.com:USER/PROJECT.git
4. git push upstream <branchName>
Posted by: Guest on March-28-2022

Code answers related to "move from github to bitbucket existing repository"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language