Aller au contenu

Remote

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

  • Toujours récupérer (git pull) avant de pousser (git push).
  • Vérifier git remote -v pour lister les dépôts distants.