Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 423 Bytes

git-remote.md

File metadata and controls

20 lines (15 loc) · 423 Bytes

Git Remote

The git remote command manages connections to remote repositories.

Usage

git remote -v   # List remotes
git remote add <name> <url>   # Add a remote

Explanation

  • Remotes are links to other repositories (e.g., on GitHub or GitLab).

  • Use git remote -v to view configured remotes.

Example

git remote add origin https://github.com/Ayminjf/git-tutorial.git
git remote -v