diff --git a/cdpw_tp1_SERRE_PRUNIER.md b/cdpw_tp1_SERRE_PRUNIER.md index 67a959701f8c753f079afe625a51a0d4225b5fd6..15eb65117ba44c8133184e377938b1ab58609706 100644 --- a/cdpw_tp1_SERRE_PRUNIER.md +++ b/cdpw_tp1_SERRE_PRUNIER.md @@ -251,20 +251,31 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge ##### 3. Merge 0. Merge depuis head 1. switcher sur une nouvelle branche `mybranch-3.1` - ```git - clserre1@A210PC12:/h/Documents/cdpw $ git checkout -b SERRE_PRUNIER-3.1 - Switched to a new branch 'SERRE_PRUNIER-3.1' - M cdpw_tp1_SERRE_PRUNIER.md - ``` + ```git + clserre1@A210PC12:/h/Documents/cdpw $ git checkout -b SERRE_PRUNIER-3.1 + Switched to a new branch 'SERRE_PRUNIER-3.1' + M cdpw_tp1_SERRE_PRUNIER.md + ``` 0. ajout un nouveau fichier nommé easy_merge avec la date et l'heure actuelle `*` - ```git - clserre1@A210PC12:/h/Documents/cdpw $ echo "19:09 08/01/2018" > easy_merge - clserre1@A210PC12:/h/Documents/cdpw $ git commit -am"Q3.1.II" - [SERRE_PRUNIER 1c053bd] Q3.1.II - 1 file changed, 1 insertion(+) - create mode 100644 easy_merge - ``` - 0. merger la branche `mybranch-4.1` sur `mybranch` + ```git + clserre1@A210PC12:/h/Documents/cdpw $ echo "19:09 08/01/2018" > easy_merge + clserre1@A210PC12:/h/Documents/cdpw $ git commit -am"Q3.1.II" + [SERRE_PRUNIER 1c053bd] Q3.1.II + 1 file changed, 1 insertion(+) + create mode 100644 easy_merge + ``` + 0. merger la branche `mybranch-4.1` sur `mybranch` + Nous avions fait les modifications sur SERRE_PRUNIER au lieu de SERRE_PRUNIER-3.1. Nous avons recréé un fichier sur cette dernière, d'où les `merges conflicts`. + ```git + clserre1@A210PC12:/h/Documents/cdpw $ git checkout SERRE_PRUNIER + Switched to branch 'SERRE_PRUNIER' + clserre1@A210PC12:/h/Documents/cdpw $ git merge SERRE_PRUNIER-3.1 + Auto-merging easy_merge + CONFLICT (add/add): Merge conflict in easy_merge + Auto-merging cdpw_tp1_SERRE_PRUNIER.md + CONFLICT (content): Merge conflict in cdpw_tp1_SERRE_PRUNIER.md + Automatic merge failed; fix conflicts and then commit the result. + ``` 0. Afficher le status 0. Pourquoi n'y a t'il aucune modification en cours ? `*` 0. Affichez un historique sous forme de graph (`a dog`) de votre repo et décire l'état courant`*` diff --git a/easy_merge b/easy_merge index deea4b570ff9b72f724c2d0ce5811449164a3a69..2d53a124b7e61be8fe15cb7e913dc02615677495 100644 --- a/easy_merge +++ b/easy_merge @@ -1 +1,5 @@ + 19:09 08/01/2018 + + +