Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git remote add myorigin git@github.com:myname/oldrep.git
- git remote add testtest git@github.com:myname/oldrep.git
- git remote rm origin
- git remote rm upstream
- git remote set-url origin git@github.com:username/projectname.git
- git remote rm origin
- [user]
- name = Uzumaki Naruto
- email = myname@example.com
- [github]
- user = myname
- token = ff44ff8da195fee471eed6543b53f1ff
- [remote "github"]
- url = git@github.com: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 git@github.com: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://user@bitbucket.org/team-or-user-name/myproject.git
- git push -u mynewrepo master # To push changes for the first time
- git remote add AppName https://someone@bitbucket.org/somewhere/something.git
- git remote rm origin
- git remote add origin git@github.com:username/myapp.git
- git remote add origin git@github.com:myname/oldrep.git
- git remote add neworigin git@github.com:myname/oldrep.git
Add Comment
Please, Sign In to add comment