All articles
git

GIT - How to add a new remote using GIT CLI

Share this article

Share on LinkedIn Share on X (formerly Twitter)

To add a new remote to your existing repo, use the following command

git remote add <new_remote_name> <url>

You can verify the remotes using the command:

git remote -v

Comments