DELAPARRA
Index
Color
NL
Category: Git commands

git remote

Explained by Updated

What is git remote?

git remote: Manage connections to remote repositories. git remote manages the connections between your local repository and remote ones. git remote -v lists them with their URLs, and git remote add upstream <url> adds another one. The default remote after cloning is called origin. When you work on a fork, it is common to add the original project as upstream, so you can fetch its latest changes and keep your fork current.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about git remote

What should you keep in mind with git remote?

Remotes are also how you move a project. git remote set-url origin <new-url> points your local copy at a new host, for example when a client moves from GitHub to GitLab. Check the URL type too. SSH URLs use your key, HTTPS URLs use a token, and a wrong type is a common reason pushes suddenly ask for a password.

At a glance

CategoryGit commands
Explained by
Updated

More Git commands terms

All terms starting with G

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.