Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by gist.github.com #
 
PREVIOUS NEXT
Tagged: #repo #bitbucket #github
ADD COMMENT
Topic
Name
2+7 =