Thread (6 messages) flat view 6 messages, 2 authors, 2016-06-15

Re: [PATCH] Document the fact that commit -a is the way to go for simple operations

From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:43:08

On Sun, 6 May 2007, Matthieu Moy wrote:
quoted hunk ↗ jump to hunk
Signed-off-by: Matthieu Moy <redacted>
---
 Documentation/git-commit.txt |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 2895225..d024c03 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -54,7 +54,8 @@ OPTIONS
 -a|--all::
 	Tell the command to automatically stage files that have
 	been modified and deleted, but new files you have not
-	told git about are not affected.
+	told git about are not affected.  You should use it for most
+        trivial operations.
I don't think this patch is worth it.  If anything it might create more 
confusion.

There are many ways to commit without -a which still could be considered 
amongst "most trivial operations".


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help