From d0ffc2557c55848132e9e78098b3ab40dc83e480 Mon Sep 17 00:00:00 2001 From: laurentheirendt <laurent.heirendt@uni.lu> Date: Tue, 11 Jun 2019 11:17:10 +0200 Subject: [PATCH] reorganize fragment of git diff --- .../slides/essential_commands.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/2019/2019-06-11_gitTraining/slides/essential_commands.md b/2019/2019-06-11_gitTraining/slides/essential_commands.md index c94d532a..f10dc08e 100644 --- a/2019/2019-06-11_gitTraining/slides/essential_commands.md +++ b/2019/2019-06-11_gitTraining/slides/essential_commands.md @@ -54,13 +54,6 @@ $ git status # uncommitted changes (displayed in red) ``` -<div class="fragment"> - -**ADVANCED**: see your changes in the terminal -```bash -$ git diff -``` -exit with `q` <div class="fragment"> @@ -71,6 +64,14 @@ $ git status #Â returns the same as before, generally in green (means staged) ``` +<div class="fragment"> + +**ADVANCED**: If there have been more changes after the file has been added, you can see your changes in the terminal +```bash +$ git diff +``` +exit with `q` + ## Add a commit message -- GitLab