summaryrefslogtreecommitdiff
path: root/Documentation/git-add.txt
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder@ira.uka.de>2008-06-14 11:48:00 +0200
committerJunio C Hamano <gitster@pobox.com>2008-06-14 12:47:31 -0700
commit69c61c4fa9a4b38eeb611a86102493394cdeb9cf (patch)
tree7f490ea6d59e2ab94f14d4475979f438da4e2929 /Documentation/git-add.txt
parentb994ec142f296c7118823495764151c2a6227e1a (diff)
downloadgit-69c61c4fa9a4b38eeb611a86102493394cdeb9cf.tar.gz
git add: add long equivalents of '-u' and '-f' options
The option -u stands for --update and it is a good idea to make it clear especially because this is the only mode of operation of "git add" that does something different from "adding". Give longer --force synonym to -f while we are at it as well. Signed-off-by: SZEDER Gábor <szeder@ira.uka.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-add.txt')
-rw-r--r--Documentation/git-add.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 9c6b081e6c..b8e3fa6759 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -8,8 +8,9 @@ git-add - Add file contents to the index
SYNOPSIS
--------
[verse]
-'git-add' [-n] [-v] [-f] [--interactive | -i] [--patch | -p] [-u] [--refresh]
- [--ignore-errors] [--] <filepattern>...
+'git-add' [-n] [-v] [--force | -f] [--interactive | -i] [--patch | -p]
+ [--update | -u] [--refresh] [--ignore-errors] [--]
+ <filepattern>...
DESCRIPTION
-----------
@@ -59,6 +60,7 @@ OPTIONS
Be verbose.
-f::
+--force::
Allow adding otherwise ignored files.
-i::
@@ -75,6 +77,7 @@ OPTIONS
the specified filepatterns before exiting.
-u::
+--update::
Update only files that git already knows about, staging modified
content for commit and marking deleted files for removal. This
is similar