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

Q3.4

parent b73a3022
No related branches found
No related tags found
No related merge requests found
......@@ -543,15 +543,45 @@ no changes added to commit (use "git add" and/or "git commit -a")
0. Pourquoi n'y a t'il aucune modification en cours ? `*`
> Normalement, on n'aura pas de modification à commiter après un merge puisqu'ils sont déjà commiter dans la branche `rda_youssef-3.1`
```
git add .
git commit -m "Q3.3"
£ git add .
$ git commit -m "Q3.3"
[reda_youssef b73a302] Q3.3
1 file changed, 21 insertions(+), 5 deletions(-)
```
0. Affichez un historique sous forme de graph (`a dog`) de votre repo et décire l'état courant`*`
```
git log --all --graph --decorate --oneline
git add .
git commit -m "Q3.4"
$ git log --all --graph --decorate --oneline
* b73a302 (HEAD -> reda_youssef) Q3.3
* 4a165c0 (reda_youssef-3.1) Q3.1.2
* f258f21 Q2.11
* ca0e5da Q2.10
* f50a0e6 Q2.6
| * b2acb20 (master) Q2.9
| | * 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 Q1.15
* 715a4ee Q1.13
* 51a5add Q1.10
* a38f03f Q1.9
* abfd2d9 Q1.7
* 3ec344e Q1.3
```
> **NOTE:** On voit clairement que les commites de la branche `reda_youssef-3.1` sont ajouter à notre branche `reda_youssef`
```
$ git add .
$ git commit -m "Q3.4"
[reda_youssef 09aa3ac] Q3.4
1 file changed, 33 insertions(+), 5 deletions(-)
```
0. Merge avec modifications
0. Mergez les modifications de la branche `mybranch-2.4` sur `mybranch` (`*echap* :wq *enter*` pour sauvegarder le message de commit et quitter)`*`
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment