The git remote
command manages connections to remote repositories.
git remote -v # List remotes
git remote add <name> <url> # Add a remote
-
Remotes are links to other repositories (e.g., on GitHub or GitLab).
-
Use
git remote -v
to view configured remotes.
git remote add origin https://github.com/Ayminjf/git-tutorial.git
git remote -v