Home » Posts » How To » Git – Github remote basic commands

Git – Github remote basic commands

To view remote origin:

git remote -v






To add a remote origin:

git remote add origin [email protected]: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




Don't forget to subscribe!.



To remove origin destination

git remote rm origin
Before you go, let's stay connected
Photo of author
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