aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-02-27 14:01:40 -0800
committerJunio C Hamano <gitster@pobox.com>2014-02-27 14:01:40 -0800
commit8336832ad99832d21e5ee588bd3d03369048c05a (patch)
tree787d8c70b31315c46780323e95c3cc713a961914 /Documentation
parent795dd116bb655f8aa8c206ecaf415527871cb7a6 (diff)
parentb4b313f94ab06fabe78fa91b3f2ebbc7ef08b012 (diff)
downloadgit-8336832ad99832d21e5ee588bd3d03369048c05a.tar.gz
git-8336832ad99832d21e5ee588bd3d03369048c05a.tar.xz
Merge branch 'nd/reset-intent-to-add'
* nd/reset-intent-to-add: reset: support "--mixed --intent-to-add" mode
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-reset.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt
index f445cb38f..a077ba0dd 100644
--- a/Documentation/git-reset.txt
+++ b/Documentation/git-reset.txt
@@ -10,7 +10,7 @@ SYNOPSIS
[verse]
'git reset' [-q] [<tree-ish>] [--] <paths>...
'git reset' (--patch | -p) [<tree-ish>] [--] [<paths>...]
-'git reset' [--soft | --mixed | --hard | --merge | --keep] [-q] [<commit>]
+'git reset' [--soft | --mixed [-N] | --hard | --merge | --keep] [-q] [<commit>]
DESCRIPTION
-----------
@@ -60,6 +60,9 @@ section of linkgit:git-add[1] to learn how to operate the `--patch` mode.
Resets the index but not the working tree (i.e., the changed files
are preserved but not marked for commit) and reports what has not
been updated. This is the default action.
++
+If `-N` is specified, removed paths are marked as intent-to-add (see
+linkgit:git-add[1]).
--hard::
Resets the index and working tree. Any changes to tracked files in the