Guest User

Untitled

a guest
Aug 10th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. git remote add myorigin git@github.com:myname/oldrep.git
  2. git remote add testtest git@github.com:myname/oldrep.git
  3.  
  4. git remote rm origin
  5.  
  6. git remote rm upstream
  7.  
  8. git remote set-url origin git@github.com:username/projectname.git
  9.  
  10. git remote rm origin
  11.  
  12. [user]
  13. name = Uzumaki Naruto
  14. email = myname@example.com
  15.  
  16. [github]
  17. user = myname
  18. token = ff44ff8da195fee471eed6543b53f1ff
  19.  
  20. [remote "github"]
  21. url = git@github.com:myname/oldrep.git
  22. push = +refs/heads/*:refs/heads/*
  23. push = +refs/tags/*:refs/tags/*
  24.  
  25. git remote rm origin
  26. git remote add origin https://github.com/USERNAME/REPOSITORY.git
  27.  
  28. git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
  29.  
  30. git remote set-url origin git@github.com:USERNAME/REPOSITORY.git
  31.  
  32. git remote rename origin startpoint
  33. # Change remote name from 'origin' to 'startpoint'
  34.  
  35. git remote -v
  36.  
  37. git remote rm origin
  38.  
  39. cd /path/to/my/repo # If haven't done yet
  40. git remote add mynewrepo https://user@bitbucket.org/team-or-user-name/myproject.git
  41. git push -u mynewrepo master # To push changes for the first time
  42.  
  43. git remote add AppName https://someone@bitbucket.org/somewhere/something.git
  44.  
  45. git remote rm origin
  46. git remote add origin git@github.com:username/myapp.git
  47.  
  48. git remote add origin git@github.com:myname/oldrep.git
  49.  
  50. git remote add neworigin git@github.com:myname/oldrep.git
Add Comment
Please, Sign In to add comment