07 May 2021
1
git remote -v
this should be like:
1
2
origin https://github.com/guilindev/testRepo.git (fetch)
origin https://github.com/guilindev/testRepo.git (push)
1
2
3
git remote rm origin
git remote add origin git@github.com:username/repository.git
git push # may need reset head by using git push --set-upstream origin master
1
2
3
git remote -v
origin git@github.com:guilindev/testRepo.git (fetch)
origin git@github.com:guilindev/testRepo.git (push)
Comments
No Comments yet.
Comment for this article on this ticket. Comments appear on this page instantly.