Git – Github remote basic commands

To view remote origin:

git remote -v

To add a remote origin:

git remote add origin git@github.com:username/repo.git 



or


Your Gift of $200 Cloud Hosting Credit is Here. Claim Now!
git remote add origin https://github.com/username/repo.git




To remove origin destination

git remote rm origin
Before you go, let's stay connected
About the Author
Lakshman Basnet
Nepali Digital Media Marketer currently based in Adelaide, South Australia who apart from playing with his cat - Eleven, also enjoys developing web content, publishing blogs and YouTube videos in his free time.

Leave a Comment