From: Matthieu Moy <Matthieu.Moy@imag.fr>
To: git@vger.kernel.org
Cc: Matthieu Moy <Matthieu.Moy@imag.fr>
Subject: [PATCH] Document git add -u introduced earlier.
Date: Sun, 6 May 2007 23:11:55 +0200 [thread overview]
Message-ID: <11784859173725-git-send-email-Matthieu.Moy@imag.fr> (raw)
In-Reply-To: <11784859173386-git-send-email-Matthieu.Moy@imag.fr>
This command was implemented, but not documented in
dfdac5d9b877641d3aad8ec49f64c2730a3487e3.
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
---
Documentation/git-add.txt | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 755d718..ea27018 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -7,7 +7,7 @@ git-add - Add file contents to the changeset to be committed next
SYNOPSIS
--------
-'git-add' [-n] [-v] [-f] [--interactive | -i] [--] <file>...
+'git-add' [-n] [-v] [-f] [--interactive | -i] [-u] [--] <file>...
DESCRIPTION
-----------
@@ -56,6 +56,10 @@ OPTIONS
Add modified contents in the working tree interactively to
the index.
+-u::
+ Update all files that git already knows about. This is what
+ "git commit -a" does in preparation for making a commit.
+
\--::
This option can be used to separate command-line options from
the list of files, (useful when filenames might be mistaken
--
1.5.1.3
next prev parent reply other threads:[~2007-05-06 21:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-06 21:11 [PATCH] Document the fact that commit -a is the way to go for simple operations Matthieu Moy
2007-05-06 21:11 ` Matthieu Moy [this message]
2007-05-06 21:11 ` [PATCH] Added a reference to git-add in the documentation for git-update-index Matthieu Moy
2007-05-06 21:11 ` [PATCH] Document "commit --only" Matthieu Moy
2007-05-06 23:13 ` Nicolas Pitre
2007-05-07 8:16 ` Matthieu Moy
2007-05-07 10:37 ` Matthieu Moy
2007-05-06 23:07 ` [PATCH] Document the fact that commit -a is the way to go for simple operations Nicolas Pitre
2007-05-07 8:21 ` Matthieu Moy
2007-05-07 11:22 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11784859173725-git-send-email-Matthieu.Moy@imag.fr \
--to=matthieu.moy@imag.fr \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).