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

Q3.6.2

parent 1c24ed3c
No related branches found
No related tags found
No related merge requests found
......@@ -832,26 +832,44 @@ Merge made by the 'recursive' strategy.
> On commite cette étape Q3.5.2
```
$ git add .
git commit -m "Q3.5.2"
$ git commit -m "Q3.5.2"
[reda_youssef 1c24ed3] Q3.5.2
1 file changed, 35 insertions(+), 4 deletions(-)
```
0. Merge avec conflit
0. Céer une nouvelle branche `mybranch-3.6`
```
git branch reda_youssef_3.6
$ git branch reda_youssef-3.6
Created a new branch 'reda_youssef-3.6'
M REDA_YOUSSEF.md
```
0. Notez dans le CR la date et l'heure actuelle (avec la commande `date` par exemple) `*`
```
date > BENCHRAA_NIDABRAHIM.md
$ date >> REDA_YOUSSEF.md
```
> On commite cette étape Q3.6.2
```
$ git add .
$ git commit -m "Q3.6.2"
[reda_youssef 493cb2e] Q3.6.2
1 file changed, 22 insertions(+), 6 deletions(-)
```
0. Switchez sur la nouvelle branche et modifiez la réponse précendante dans le CR avec le `*`
```
git checkout reda_youssef_3.6
date > BENCHRAA_NIDABRAHIM
$ git checkout reda_youssef-3.6
Switched to branch 'reda_youssef-3.6'
M REDA_YOUSSEF.md
$ date > REDA_YOUSSEF
```
0. Réalisez le merge de la brache `mybranch-3.6` sur `mybranch`. Le prompt change, pourquoi ? Gerer le conflit et commiter.
```
git checkout reda_youssef
$ git checkout reda_youssef
Switched to branch 'reda_youssef'
M REDA_YOUSSEF.md
git merge reda_youssef_3.6
```
0. Supprimer les branches de feature et afficher toutes les branches restantes, affichez un historique sous forme de graph (`a dog`) de votre repo `*`
......@@ -889,3 +907,4 @@ git trace les modifications et pas les fichiers
```
0. Supprimer le dossier .git
0. Faire un git status ?
mar. 13 févr. 2018 00:09:33
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