Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

move repository from Bitbucket to GitHub

1. git clone https://USER@bitbucket.org/USER/PROJECT.git
2. cd PROJECT
3. git remote add upstream https://github.com:USER/PROJECT.git
4. git push upstream <branchName>
Source by gist.github.com #
 
PREVIOUS NEXT
Tagged: #move #repository #Bitbucket #GitHub
ADD COMMENT
Topic
Name
2+8 =