diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2009-05-18 17:43:02 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2009-05-18 17:43:02 +0000 |
commit | 52ba29509db8c14bdbb5011efe06ee34324786f9 (patch) | |
tree | 16dd07ba572bd3463844125af08e56675e637383 /git-add.txt | |
parent | d4f35a9a45b49fcfbea34c7d588fb95f5f2f4873 (diff) | |
download | git-htmldocs-52ba29509db8c14bdbb5011efe06ee34324786f9.tar.gz |
Autogenerated HTML docs for v1.6.3.1-54-g99dd
Diffstat (limited to 'git-add.txt')
-rw-r--r-- | git-add.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/git-add.txt b/git-add.txt index d938b4228..ab1943c71 100644 --- a/git-add.txt +++ b/git-add.txt @@ -9,7 +9,7 @@ SYNOPSIS -------- [verse] 'git add' [-n] [-v] [--force | -f] [--interactive | -i] [--patch | -p] - [--all | [--update | -u]] [--intent-to-add | -N] + [--edit | -e] [--all | [--update | -u]] [--intent-to-add | -N] [--refresh] [--ignore-errors] [--] <filepattern>... DESCRIPTION @@ -76,6 +76,15 @@ OPTIONS bypassed and the 'patch' subcommand is invoked using each of the specified filepatterns before exiting. +-e, \--edit:: + Open the diff vs. the index in an editor and let the user + edit it. After the editor was closed, adjust the hunk headers + and apply the patch to the index. ++ +*NOTE*: Obviously, if you change anything else than the first character +on lines beginning with a space or a minus, the patch will no longer +apply. + -u:: --update:: Update only files that git already knows about, staging modified |