The git remote command lets you create, view and delete the connections to other repos. Remote connections are more like a bookmark rather than a direct link to repos.

#List the remote connections you have to other repositories.
git remote

#Same as the above command, but include the URL of each connection.
git remote -v

#Create a new connection to a remote repository. After adding a remote, you’ll be able to use  as a convenient shortcut for 
git remote add  

#Remove the connection to the remote repository called .
git remote rm 

#Rename a remote connection from  to .
git remote rename  

Leave a Reply

Your email address will not be published. Required fields are marked *