Skip to content
Snippets Groups Projects
Commit 51905a3c authored by Clement  SERRE's avatar Clement SERRE
Browse files

Q2.5

parent a4e6b945
No related branches found
No related tags found
No related merge requests found
......@@ -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 `*`
......
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