Skip to content
Snippets Groups Projects
Commit 8e5667fb authored by bertoni's avatar bertoni
Browse files

changement de branche

parent 65e4affd
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment