From 8e5667fbfa101a329947edcdfcdc5df79165f44c Mon Sep 17 00:00:00 2001 From: bertoni <marion_bertoni@outlook.fr> Date: Mon, 29 Jan 2018 19:32:18 +0100 Subject: [PATCH] changement de branche --- Bertoni Walczyszyn tp1 cpw.md | 67 +++++++++++++++++------------------ 1 file changed, 33 insertions(+), 34 deletions(-) diff --git a/Bertoni Walczyszyn tp1 cpw.md b/Bertoni Walczyszyn tp1 cpw.md index 38797e9..20d3b23 100644 --- a/Bertoni Walczyszyn tp1 cpw.md +++ b/Bertoni Walczyszyn tp1 cpw.md @@ -184,11 +184,6 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge @@ -1 +0,0 @@ -file2ignore.txt - - - - - ##### 2. Les branches 0. Créez une branche portant votre nom et basculer sur cette branche (dans la suite du TP cette branche est désignée par `mybranch`) @@ -215,35 +210,36 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge BertoniWalczyszyn * master - 0. Afficher un historique sous forme de graph (`a dog`) de votre repo - - $ git log --all --decorate --oneline --graph - * 88533e1 (BertoniWalczyszyn) derniere version - * 113376e (origin/BertoniWalczyszyn) derniere version 08/01 - | * 52f744d (HEAD -> BW-2.4, master) 19h32 - | * ae1b0d7 branche créée - |/ - * 8d09964 ajout .gitignore - * 39cc64e ajout fichier start - * 4773e48 modification du nom - * a95c3e0 premier ajout - - 0. Pourquoi les 2 branches pointent elles sur la même révision ?`*` - Car aucune modification n'a encore été faite, aucun nouveau commit sur la nouvelle branche - - 0. Afficher à nouveau l'historique pour montrer les modifications suite au précédent commit `*` - - $ git log --all --decorate --oneline --graph - * baf3847 (HEAD -> BW-2.4) creation branche BW-2.4 - * 52f744d (master) 19h32 - * ae1b0d7 branche créée - | * 88533e1 (BertoniWalczyszyn) derniere version - | * 113376e (origin/BertoniWalczyszyn) derniere version 08/01 - |/ - * 8d09964 ajout .gitignore - * 39cc64e ajout fichier start - * 4773e48 modification du nom - * a95c3e0 premier ajout + 0. Afficher un historique sous forme de graph (`a dog`) de votre repo + + $ git log --all --decorate --oneline --graph + * 88533e1 (BertoniWalczyszyn) derniere version + * 113376e (origin/BertoniWalczyszyn) derniere version 08/01 + | * 52f744d (HEAD -> BW-2.4, master) 19h32 + | * ae1b0d7 branche créée + |/ + * 8d09964 ajout .gitignore + * 39cc64e ajout fichier start + * 4773e48 modification du nom + * a95c3e0 premier ajout + + 0. Pourquoi les 2 branches pointent elles sur la même révision ?`*` + + Car aucune modification n'a encore été faite, aucun nouveau commit sur la nouvelle branche + + 0. Afficher à nouveau l'historique pour montrer les modifications suite au précédent commit `*` + + $ git log --all --decorate --oneline --graph + * baf3847 (HEAD -> BW-2.4) creation branche BW-2.4 + * 52f744d (master) 19h32 + * ae1b0d7 branche créée + | * 88533e1 (BertoniWalczyszyn) derniere version + | * 113376e (origin/BertoniWalczyszyn) derniere version 08/01 + |/ + * 8d09964 ajout .gitignore + * 39cc64e ajout fichier start + * 4773e48 modification du nom + * a95c3e0 premier ajout 0. Revenir la branche `mybranch` @@ -251,6 +247,9 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge Switched to branch 'BertoniWalczyszyn' 0. Où sont passées vos reponses au point 2.4 ? `*` + + elles ont disparu + 0. Affichez un historique sous forme de graph (`a dog`) de votre repo, Que peux ton en dire ? 0. Revenir sur la branche master 0. Ajoutez et commitez un fichier (touch new_file) -- GitLab