Skip to content
Snippets Groups Projects
Commit f50a0e63 authored by NIDABRAHIM Youssef's avatar NIDABRAHIM Youssef
Browse files

Q2.6

parent 71592a8d
No related branches found
No related tags found
No related merge requests found
...@@ -407,17 +407,39 @@ $ git commit -m "Q2.2" ...@@ -407,17 +407,39 @@ $ git commit -m "Q2.2"
0. Afficher à nouvea l'historique pour montrer les modifications suite au précédent commit `*` 0. Afficher à nouvea l'historique pour montrer les modifications suite au précédent commit `*`
0. Revenir la brache `mybranch` 0. Revenir la brache `mybranch`
``` ```
git checkout reda_youssef $ git checkout reda_youssef
Switched to branch 'reda_youssef'
``` ```
0. Où sont passé vos reponces au point 2.4 ? `*` 0. Où sont passé vos reponces au point 2.4 ? `*`
> Les réponces au point 2.4 sont dans l'autre branche `reda_youssef-2.4`
```
$ git add .
$ git commit -m "Q2.6"
[reda_youssef 30c07dd] Q2.6
1 file changed, 4 insertions(+), 1 deletion(-)
``` ```
git add .
git commit -m "Q2.6"
```
0. Affichez un historique sous forme de graph (`a dog`) de votre repo, Que peux ton en dire ? 0. Affichez un historique sous forme de graph (`a dog`) de votre repo, Que peux ton en dire ?
``` ```
git log --all --graph --decorate --oneline $ git log --all --graph --decorate --oneline
``` * 30c07dd (HEAD -> reda_youssef) Q2.6
| * 02a31d5 (reda_youssef-2.4) Q2.4.5
| * d72c9c1 Q2.4.4
| * 3dd3708 Q2.4.3
| * 12bae9c Q2.4.2
|/
* 71592a8 Q2.3
* 03c3017 Q2.2
* 717b390 (master) Q1.15
* 715a4ee Q1.13
* 51a5add Q1.10
* a38f03f Q1.9
* abfd2d9 Q1.7
* 3ec344e Q1.3
```
> **NOTE:** D'après le graphe, on remarque bien les commites effectuer dans la branche `reda_youssef-2.4`
0. Revenir sur la branche master 0. Revenir sur la branche master
``` ```
git checkout master git checkout master
......
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