From 9573e3ca274be7918e10db5c51b4ce8e25e6df82 Mon Sep 17 00:00:00 2001
From: SERRE Clement <clement.serre@poste.isima.fr>
Date: Mon, 8 Jan 2018 18:42:36 +0100
Subject: [PATCH] Q1.12

---
 .gitignore                |  1 +
 cdpw_tp1_SERRE_PRUNIER.md | 21 +++++++++++++++++++--
 2 files changed, 20 insertions(+), 2 deletions(-)
 create mode 100644 .gitignore

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..92b7d53
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+file2ignore
diff --git a/cdpw_tp1_SERRE_PRUNIER.md b/cdpw_tp1_SERRE_PRUNIER.md
index 95c9332..66f6081 100644
--- a/cdpw_tp1_SERRE_PRUNIER.md
+++ b/cdpw_tp1_SERRE_PRUNIER.md
@@ -73,15 +73,32 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge
     ```git
     clserre1@A210PC12:/h/Documents/cdpw $ echo "18:35 08/01/2018" > start
     clserre1@A210PC12:/h/Documents/cdpw $ git add .
-    warning: LF will be replaced by CRLF in start.
-    The file will have its original line endings in your working directory.
     clserre1@A210PC12:/h/Documents/cdpw $ git commit -m"Q1.9"
     [master a49be37] Q1.9
      2 files changed, 10 insertions(+)
      create mode 100644 start
     ```
 0. Créer un nouveau fichier : file2ignore
+    ```git
+    clserre1@A210PC12:/h/Documents/cdpw $ touch file2ignore
+    ```
 0. Afficher la status de votre copie de travail
+    ```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
+    
+    Untracked files:
+      (use "git add <file>..." to include in what will be committed)
+    
+            file2ignore
+    
+    no changes added to commit (use "git add" and/or "git commit -a")
+    ```
 0. On souhaite que ce fichier soit ignoré et ne soit jamais commiter. Réalisez la configuration nécesaire pour que cette regle soit effective `*`
 0. Lister le contenu du repertoire courant, afficher le status et la log
 0. Avant de commiter affichez les modifications par rapport à la précédente révision ? `*`
-- 
GitLab