Git 2 · Remotes
Add a remote
Connect the repository to a remote named origin.
git remote add origin https://github.com/user/repo.git
Git 2 · Remotes
Connect the repository to a remote named origin.
git remote add origin https://github.com/user/repo.git
Was this page helpful?