diff --git a/cdpw_tp1_SERRE_PRUNIER.md b/cdpw_tp1_SERRE_PRUNIER.md index 41e7d5e6cd72e6abd6f5899d12be236d6e79da0d..6f0c5ab6b8c4d7f8b154ac557f42f37d65556b25 100644 --- a/cdpw_tp1_SERRE_PRUNIER.md +++ b/cdpw_tp1_SERRE_PRUNIER.md @@ -169,8 +169,33 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge 0. Pourquoi les 2 branches pointent elles sur la même révision ?`*` 0. Afficher à nouvea l'historique pour montrer les modifications suite au précédent commit `*` 0. Revenir la brache `mybranch` -0. Où sont passé vos reponces au point 2.4 ? `*` + ```git + clserre1@A210PC12:/h/Documents/cdpw $ git checkout SERRE_PRUNIER + Switched to branch 'SERRE_PRUNIER' + ``` +0. Où sont passé vos reponces au point 2.4 ? `*` + Elles sont resté sur l'autre branche. + ```git + clserre1@A210PC12:/h/Documents/cdpw $ git commit -am"Q2.5" + [SERRE_PRUNIER 08edde6] Q2.5 + 1 file changed, 6 insertions(+), 1 deletion(-) + ``` 0. Affichez un historique sous forme de graph (`a dog`) de votre repo, Que peux ton en dire ? + Il y a une branche de plus de dessiner ! (branches sur différents `commit`) + ```git + clserre1@A210PC12:/h/Documents/cdpw $ git log --all --decorate --oneline --graph* 08edde6 (HEAD -> SERRE_PRUNIER) Q2.5 + | * 939141b (SERRE_PRUNIER-2.3) Q2.3.III + | * 4695520 Q2.3.II + |/ + * a4e6b94 Q2.2 + * bd03bc0 Q2.1 + * ef6b3f6 (master) Q1.14 + * 9573e3c Q1.12 + * 3bd908e Q1.9 + * b28292b Q1.8 + * dd449ba Q1.6 + * 7b7f60f Q1.2 + ``` 0. Revenir sur la branche master 0. Ajoutez et commitez un fichier (touch new_file) 0. Revenir sur votre branche `mybranch` pour completer le compte rendu `*`