📁 Fichiers
README.md
a.txt
b.txt
c.txt
! ConflitS IndexéM ModifiéU Non suivi
Aucun fichier indexé. Utilisez
git add pour indexer vos changements.📊 Graphe de commitsbranche actuellemain
git add pour indexer vos changements.git checkout <hash>), d'un tag (git checkout v1.0) ou d'une branche de suivi (git checkout origin/main) vous met tous en detached HEAD.git checkout -b <nom> pour sauvegarder votre travail. Puis revenez sur une branche normale avec git checkout main.git log --oneline. Il y a 4 commits. On va checkout un commit plus ancien pour voir à quoi ressemble le detached HEAD.