Commit 0910ff20 authored by Arnaud Legrand's avatar Arnaud Legrand

Mention the -u option of git status

parent dd9eb2bf
...@@ -24,7 +24,7 @@ git log -1 ...@@ -24,7 +24,7 @@ git log -1
: Fix a few typos and provide information on jupyter-git plugins. : Fix a few typos and provide information on jupyter-git plugins.
#+begin_src shell :results output :exports both #+begin_src shell :results output :exports both
git status git status -u
#+end_src #+end_src
#+RESULTS: #+RESULTS:
...@@ -54,6 +54,9 @@ Untracked files: ...@@ -54,6 +54,9 @@ Untracked files:
no changes added to commit (use "git add" and/or "git commit -a") no changes added to commit (use "git add" and/or "git commit -a")
#+end_example #+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 Then, I often include commands at the end of my notebook indicating
how to commit the results (adding the new files, committing with a how to commit the results (adding the new files, committing with a
clear message and pushing). E.g., clear message and pushing). E.g.,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment