Skip to content

Commit 964498e

Browse files
mkiedrowiczgitster
authored andcommitted
Documentation: fix a typo in git-apply.txt
git-apply accepts the --cached option, not --cache. Signed-off-by: Michał Kiedrowicz <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b31d202 commit 964498e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-apply.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ DESCRIPTION
2222
-----------
2323
Reads the supplied diff output (i.e. "a patch") and applies it to files.
2424
With the `--index` option the patch is also applied to the index, and
25-
with the `--cache` option the patch is only applied to the index.
25+
with the `--cached` option the patch is only applied to the index.
2626
Without these options, the command applies the patch only to files,
2727
and does not require them to be in a git repository.
2828

0 commit comments

Comments
 (0)