dzikovskyy

Transfer repo from Bitbucket to Github

Aug 4th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.20 KB | None | 0 0
  1. $ cd $HOME/Code/repo-directory
  2.  
  3. $ git remote rename origin bitbucket
  4. $ git remote add origin https://github.com/mandiwise/awesome-new-repo.git
  5. $ git push origin master
  6.  
  7. $ git remote rm bitbucket
Add Comment
Please, Sign In to add comment