Article version: GitHub.com
Managing remote repositories
Learn to work with your local repositories on your computer and remote repositories hosted on GitHub.
Were you able to find what you were looking for?
Thank you! Your feedback has been submitted.
About remote repositories→
GitHub's collaborative approach to development depends on publishing commits from your local repository for other people to view, fetch, and update.
Which remote URL should I use?→
There are several ways to clone repositories available on GitHub.
Adding a remote→
To add a new remote, use the git remote add command on the terminal, in the directory your repository is stored at.
Changing a remote's URL→
The git remote set-url command changes an existing remote repository URL.
Renaming a remote→
Use the git remote rename command to rename an existing remote.
Removing a remote→
Use the git remote rm command to remove a remote URL from your repository.
Were you able to find what you were looking for?
Thank you! Your feedback has been submitted.