Ceci est une ancienne révision du document !
Commandes GIT
Commandes
- git add %NomDuFichier% (ou *)
- git commit (-m “%Message%”)
- git log : affiche les modifications
- git checkout %CommitId% (%CommitId% est visible dans git log)
- git checkout master (-f) reviens au dernier commit
- git checkout %NomBranche% : basculement sur la branche %NomBranche%
- git branch : affiche les branches
- git branch %NomBranche% : crée une nouvelle branche
Sources & Ressources
Vous pourriez laisser un commentaire si vous étiez connecté.