From 0910ff2080623ab88e6c135c2511979b2be6ad36 Mon Sep 17 00:00:00 2001 From: Arnaud Legrand Date: Wed, 5 Sep 2018 11:44:24 +0200 Subject: [PATCH] Mention the -u option of git status --- module4/ressources/resources.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module4/ressources/resources.org b/module4/ressources/resources.org index 3f4e254..be9a530 100644 --- a/module4/ressources/resources.org +++ b/module4/ressources/resources.org @@ -24,7 +24,7 @@ git log -1 : Fix a few typos and provide information on jupyter-git plugins. #+begin_src shell :results output :exports both -git status +git status -u #+end_src #+RESULTS: @@ -54,6 +54,9 @@ Untracked files: no changes added to commit (use "git add" and/or "git commit -a") #+end_example +/Note: the -u indicates that git should also display the contents of +new directories it did not previously know about./ + Then, I often include commands at the end of my notebook indicating how to commit the results (adding the new files, committing with a clear message and pushing). E.g., -- 2.18.1