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

Q2.1

parent ef6b3f6c
No related branches found
No related tags found
No related merge requests found
......@@ -130,9 +130,28 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge
clserre1@A210PC12:/h/Documents/cdpw $
```
0. Avant de commiter affichez les modifications par rapport à la précédente révision ? `*`
```git
clserre1@A210PC12:/h/Documents/cdpw $ git status
On branch master
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: cdpw_tp1_SERRE_PRUNIER.md
no changes added to commit (use "git add" and/or "git commit -a")
clserre1@A210PC12:/h/Documents/cdpw $ git commit -am"Q1.14"
[master ef6b3f6] Q1.14
1 file changed, 28 insertions(+)
```
##### 2. Les branches
0. Créez une branche portant votre nom et basculer sur cette branche (dans la suite du TP cette branche est désignée par `mybranch`)
```git
clserre1@A210PC12:/h/Documents/cdpw $ git checkout -b SERRE_PRUNIER
Switched to a new branch 'SERRE_PRUNIER'
M cdpw_tp1_SERRE_PRUNIER.md
```
0. Lister les branches locales et les fichiers présent dans le répertoire courant `*`
0. Aficher le status de votre repo `*`
0. Créez une branche pour _développer_ la réponse de ce point (nommez là `mybranch-2.4` par exemple)
......
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