Skip to content

Remote

Fenêtre de terminal
git remote add origin https://github.com/user/project.git
Fenêtre de terminal
git push origin main
Fenêtre de terminal
git pull origin main
Fenêtre de terminal
git fetch

  • Always pull (git pull) before pushing (git push).
  • Check git remote -v to list remote repositories.