diff --git a/cdpw_tp1_SERRE_PRUNIER.md b/cdpw_tp1_SERRE_PRUNIER.md index 02f9fd2bc0edc0db0203648e1b313624bf40a165..7af6efb42ea6346a4c9a08835c678dfd51d7c827 100644 --- a/cdpw_tp1_SERRE_PRUNIER.md +++ b/cdpw_tp1_SERRE_PRUNIER.md @@ -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)