Add Git remote
11 March 2022 (Updated 11 March 2022)
Syntax:
git remote add <remote-name> <remote-url>
For example, if you want to add a remote called origin
that points to git@github.com:sajadtorkamani/example-repo.git
:
git remote add origin git@github.com:sajadtorkamani/example-repo.git
You can check your remotes with:
git remove -v
Tagged:
Git
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment