Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git remote add myorigin [email protected]:myname/oldrep.git
- git remote add testtest [email protected]:myname/oldrep.git
- git remote rm origin
- git remote rm upstream
- git remote set-url origin [email protected]:username/projectname.git
- git remote rm origin
- [user]
- name = Uzumaki Naruto
- email = [email protected]
- [github]
- user = myname
- token = ff44ff8da195fee471eed6543b53f1ff
- [remote "github"]
- url = [email protected]:myname/oldrep.git
- push = +refs/heads/*:refs/heads/*
- push = +refs/tags/*:refs/tags/*
- git remote rm origin
- git remote add origin https://github.com/USERNAME/REPOSITORY.git
- git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
- git remote set-url origin [email protected]:USERNAME/REPOSITORY.git
- git remote rename origin startpoint
- # Change remote name from 'origin' to 'startpoint'
- git remote -v
- git remote rm origin
- cd /path/to/my/repo # If haven't done yet
- git remote add mynewrepo https://[email protected]/team-or-user-name/myproject.git
- git push -u mynewrepo master # To push changes for the first time
- git remote add AppName https://[email protected]/somewhere/something.git
- git remote rm origin
- git remote add origin [email protected]:username/myapp.git
- git remote add origin [email protected]:myname/oldrep.git
- git remote add neworigin [email protected]:myname/oldrep.git
Add Comment
Please, Sign In to add comment