From 10c9dfa53e2fd2ce44afc290ffd2a73f17cc1226 Mon Sep 17 00:00:00 2001
From: Martijn Vermaat <martijn@vermaat.name>
Date: Tue, 15 Oct 2013 10:37:18 +0200
Subject: [PATCH] Never use commit -a

---
 remotes/remotes.tex | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/remotes/remotes.tex b/remotes/remotes.tex
index 6e9c27d..2ecf219 100644
--- a/remotes/remotes.tex
+++ b/remotes/remotes.tex
@@ -193,7 +193,8 @@ Switched to a new branch 'simpsons'
   Let's continue working on branch \bt{simpsons}.
   \begin{lstlisting}[basicstyle=\ttfamily\footnotesize]
 $ emacs FACTS.md
-$ git commit -am 'Edit character presence'
+$ git add FACTS.md
+$ git commit -m 'Edit character presence'
 [simpsons 0676334] Edit character presence
  1 file changed, 1 insertion(+), 1 deletion(-)
 $ git status
@@ -203,7 +204,7 @@ $ git status
 nothing to commit (working directory clean)
   \end{lstlisting}
   \bigskip
-  \includegraphics[width=9cm]{images/example-commit}
+  \includegraphics[width=8cm]{images/example-commit}
 \end{frame}
 
 \begin{frame}[fragile]
-- 
GitLab