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

Q4.4

parent 5baabf97
Branches
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge
$ git init
Initialized empty Git repository in C:/TP1/.git/
```
0. _Par la suite pensez à commiter votre compte rendu apres chaques étapes dont l'enoncé est terminé par `*`, pour les messages de commit vous pouvez utiliser les numéros des questions (Ex Q1.2 ici)_
0. Ajouter le compte rendu dans le repo `*`
......@@ -866,6 +867,7 @@ M REDA_YOUSSEF.md
```
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
Switched to branch 'reda_youssef'
......@@ -981,13 +983,29 @@ $ git commit -m "Q4.2"
0. Lister les branches distantes
```
$ git remote show https://mobenchraa@gitlab.isima.fr/mazenovi/2017-F2-Forge.git
$ git remote add origin https://gitlab.isima.fr/mazenovi/2017-F2-Forge.git
```
0. Pousser votre branche de votre repo local sur le repos distant `*`
```
$ git push origin reda_youssef
Counting objects: 81, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (75/75), done.
Writing objects: 100% (81/81), 16.62 KiB | 0 bytes/s, done.
Total 81 (delta 36), reused 0 (delta 0)
remote:
remote: View merge request for reda_youssef:
remote: https://gitlab.isima.fr/mazenovi/2017-F2-Forge/merge_requests/5
remote:
To gitlab.isima.fr:mazenovi/2017-F2-Forge.git
* [new branch] reda_youssef -> reda_youssef
```
```
$ git add .
$ git commit -m "Q4.4"
[reda_youssef 44c6616] Q4.4
1 file changed, 1 insertion(+), 1 deletion(-)
$ git push origin reda_youssef
```
0. En consultant votre branche sous gitlab, vous devriez constaté que la date de modification du fichier start est plus acienne que celle de votre compte rendu, pourquoi alors que le push de toute votre branche est faite en une seule fois ?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment