From 87a2c131d5556cc9490296c64936b1106b046d98 Mon Sep 17 00:00:00 2001 From: thibault <thib.sig@gmail.com> Date: Mon, 29 Jan 2018 19:15:01 +0100 Subject: [PATCH] Q3.8 --- chedotal_signarbieux_tp1.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/chedotal_signarbieux_tp1.md b/chedotal_signarbieux_tp1.md index 9f2c07b..eb73b05 100644 --- a/chedotal_signarbieux_tp1.md +++ b/chedotal_signarbieux_tp1.md @@ -189,16 +189,16 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge ##### 3. Merge 0. Merge depuis head 0. switcher sur une nouvelle branche `mybranch-3.1` - **git branch che_sig-3.1** - **git checkout che_sig-3.1** + **git branch che_sig-3.1** + **git checkout che_sig-3.1** 0. ajout un nouveau fichier nommé easy_merge avec la date et l'heure actuelle `*` - **touch easy_merge** - **git add .** - **git commit -am "Q3.2"** + **touch easy_merge** + **git add .** + **git commit -am "Q3.2"** 0. merger la branche `mybranch-3.1` sur `mybranch` - **git commit -am "Q3.3"** - **git checkout che_sig** - **git merge che_sig-3.1** + **git commit -am "Q3.3"** + **git checkout che_sig** + **git merge che_sig-3.1** 0. Afficher le status **git status** 0. Pourquoi n'y a t'il aucune modification en cours ? `*` @@ -209,7 +209,9 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge **git log --all --decorate --oneline --graph** **git commit -am "Q3.6"** 0. Merge avec modifications - 0. Mergez les modifications de la branche `mybranch-2.4` sur `mybranch` (`*echap* :wq *enter*` pour sauvegarder le message de commit et quitter)`*` + 0. Mergez les modifications de la branche `mybranch-2.4` sur `mybranch` (`*echap* :wq *enter*` pour sauvegarder le message de commit et quitter)`*` + **git commit -am "Q3.8"** + **git merge che_sig-2.4** 0. Affichez un historique sous forme de graph (`a dog`) de votre repo `*` 0. Merge avec conflit 0. Céer une nouvelle branche `mybranch-3.6` -- GitLab