diff --git a/selimovic-compte-rendu.md b/selimovic-compte-rendu.md index 8b0db1714098adb76554f6da0a82150960b24b5f..e635845110bc449f347fc215e0c2ffad8772218b 100644 --- a/selimovic-compte-rendu.md +++ b/selimovic-compte-rendu.md @@ -229,9 +229,42 @@ nothing to commit, working tree clean ``` 0. Créez une branche pour _développer_ la réponse de ce point (nommez là `mybranch-2.4` par exemple) +``` +$ git checkout -b selimovic-2.4 +``` 0. Afficher un historique sous forme de graph (`a dog`) de votre repo + ``` + $ git log --all --decorate --oneline --graph + * 434403c (HEAD -> selimovic-2.4, selimovic) Q2.3 + * 992376b Q2.2 + * 7a07334 (master) Q1.15 + * 02672f8 Q1.13 + * 696e5f9 Q1.10 + * db1ca34 Q1.9 + * 80d9397 Rename compte-rendu + * e4e58b9 Q1.5 + * f256d85 Q1.3 + * 6bd3cbb Add compte-rendu.md + ``` 0. Pourquoi les 2 branches pointent elles sur la même révision ?`*` + >Parce qu'il n'y a pas encore de commit supplémentaire sur la branche selimovic-2.4 + 0. Afficher à nouvea l'historique pour montrer les modifications suite au précédent commit `*` + ``` + $ git log --all --decorate --oneline --graph + * 77e2569 (HEAD -> selimovic-2.4) Q2.4.2 + * 434403c (selimovic) Q2.3 + * 992376b Q2.2 + * 7a07334 (master) Q1.15 + * 02672f8 Q1.13 + * 696e5f9 Q1.10 + * db1ca34 Q1.9 + * 80d9397 Rename compte-rendu + * e4e58b9 Q1.5 + * f256d85 Q1.3 + * 6bd3cbb Add compte-rendu.md + ``` + 0. Revenir la brache `mybranch` ``` $ git checkout selimovic