From 717b390adcca2fc78a621da45dc5f4e0ba2c419a Mon Sep 17 00:00:00 2001 From: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> Date: Mon, 12 Feb 2018 22:14:02 +0100 Subject: [PATCH] Q1.15 --- REDA_YOUSSEF.md | 173 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 168 insertions(+), 5 deletions(-) diff --git a/REDA_YOUSSEF.md b/REDA_YOUSSEF.md index 26d82fc..fb4f61e 100644 --- a/REDA_YOUSSEF.md +++ b/REDA_YOUSSEF.md @@ -147,18 +147,181 @@ Use -f if you really want to add them. ``` > On commite cette étape Q1.13 ``` -git commit -m "Q1.13" +$ git commit -m "Q1.13" +[master 715a4ee] Q1.13 + 1 file changed, 26 insertions(+), 6 deletions(-) ``` + 0. Lister le contenu du repertoire courant, afficher le status et la log ``` -git ls-files -git status -git log +$ git ls-files +REDA_YOUSSEF.md +start +``` +``` +$ 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: REDA_YOUSSEF.md +Untracked files: + (use "git add <file>..." to include in what will be committed) + .gitignore +no changes added to commit (use "git add" and/or "git commit -a") ``` +``` +$ git log +commit 715a4ee8285da57cd0debd02ef0d2756d7e9408a +Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> +Date: Mon Feb 12 22:05:17 2018 +0100 + Q1.13 +commit 51a5addb0f97faae02a4e72054fb4af151e41fd5 +Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> +Date: Mon Feb 12 21:53:17 2018 +0100 + Q1.10 +commit a38f03f0e4779c9aec92bd1bd6dce92c18f03723 +Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> +Date: Mon Feb 12 21:40:41 2018 +0100 + Q1.9 +commit abfd2d91c6fff3d02fd132e77c012cc695b2ec84 +Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> +Date: Mon Feb 12 21:15:48 2018 +0100 + Q1.7 +:...skipping... +commit 715a4ee8285da57cd0debd02ef0d2756d7e9408a +Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> +Date: Mon Feb 12 22:05:17 2018 +0100 + Q1.13 +commit 51a5addb0f97faae02a4e72054fb4af151e41fd5 +Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> +Date: Mon Feb 12 21:53:17 2018 +0100 + Q1.10 +commit a38f03f0e4779c9aec92bd1bd6dce92c18f03723 +Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> +Date: Mon Feb 12 21:40:41 2018 +0100 + Q1.9 +commit abfd2d91c6fff3d02fd132e77c012cc695b2ec84 +Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> +Date: Mon Feb 12 21:15:48 2018 +0100 + Q1.7 +commit 3ec344ecfd24df41ca97396f27b52ec570297ce3 +Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> +Date: Mon Feb 12 21:02:43 2018 +0100 + Q1.3 +``` + 0. Avant de commiter affichez les modifications par rapport à la précédente révision ? `*` ``` -git diff + $ git diff +diff --git a/REDA_YOUSSEF.md b/REDA_YOUSSEF.md +index 26d82fc..50663bf 100644 +--- a/REDA_YOUSSEF.md ++++ b/REDA_YOUSSEF.md +@@ -147,14 +147,70 @@ Use -f if you really want to add them. + ``` + > On commite cette étape Q1.13 + ``` +-git commit -m "Q1.13" ++$ git commit -m "Q1.13" ++[master 715a4ee] Q1.13 ++ 1 file changed, 26 insertions(+), 6 deletions(-) + ``` ++ + 0. Lister le contenu du repertoire courant, afficher le status et la log + ``` +-git ls-files +-git status +-git log ++$ git ls-files ++REDA_YOUSSEF.md ++start ++``` +:...skipping... +diff --git a/REDA_YOUSSEF.md b/REDA_YOUSSEF.md +index 26d82fc..50663bf 100644 +--- a/REDA_YOUSSEF.md ++++ b/REDA_YOUSSEF.md +@@ -147,14 +147,70 @@ Use -f if you really want to add them. + ``` + > On commite cette étape Q1.13 + ``` +-git commit -m "Q1.13" ++$ git commit -m "Q1.13" ++[master 715a4ee] Q1.13 ++ 1 file changed, 26 insertions(+), 6 deletions(-) + ``` ++ + 0. Lister le contenu du repertoire courant, afficher le status et la log + ``` +-git ls-files +-git status +-git log ++$ git ls-files ++REDA_YOUSSEF.md ++start ++``` ++``` ++$ 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: REDA_YOUSSEF.md ++Untracked files: ++ (use "git add <file>..." to include in what will be committed) ++ .gitignore ++no changes added to commit (use "git add" and/or "git commit -a") ++``` + ``` ++$ git log ++commit 715a4ee8285da57cd0debd02ef0d2756d7e9408a ++Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> ++Date: Mon Feb 12 22:05:17 2018 +0100 ++ Q1.13 ++commit 51a5addb0f97faae02a4e72054fb4af151e41fd5 ++Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> ++Date: Mon Feb 12 21:53:17 2018 +0100 ++ Q1.10 ++commit a38f03f0e4779c9aec92bd1bd6dce92c18f03723 ++Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> ++Date: Mon Feb 12 21:40:41 2018 +0100 ++ Q1.9 ++commit abfd2d91c6fff3d02fd132e77c012cc695b2ec84 ++Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> ++Date: Mon Feb 12 21:15:48 2018 +0100 ++ Q1.7 ++:...skipping... ++commit 715a4ee8285da57cd0debd02ef0d2756d7e9408a ++Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> ++Date: Mon Feb 12 22:05:17 2018 +0100 ++ Q1.13 ++commit 51a5addb0f97faae02a4e72054fb4af151e41fd5 ++Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> ++Date: Mon Feb 12 21:53:17 2018 +0100 ++ Q1.10 ++commit a38f03f0e4779c9aec92bd1bd6dce92c18f03723 ++Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> ++Date: Mon Feb 12 21:40:41 2018 +0100 ++ Q1.9 ++commit abfd2d91c6fff3d02fd132e77c012cc695b2ec84 ++Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> ++Date: Mon Feb 12 21:15:48 2018 +0100 ++ Q1.7 ++commit 3ec344ecfd24df41ca97396f27b52ec570297ce3 ++Author: NIDABRAHIM Youssef <youssef.nidabrahim@um5s.net.ma> ++Date: Mon Feb 12 21:02:43 2018 +0100 ++ Q1.3 ++``` ++ + 0. Avant de commiter affichez les modifications par rapport à la précédente révision ? `*` + ``` + git diff +``` +``` git add . +``` +``` git commit -m "Q1.15" ``` -- GitLab