Skip to content

Commit

Permalink
gitignore.txt: do not suggest assume-unchanged
Browse files Browse the repository at this point in the history
git-update-index --assume-unchanged was never meant to ignore changes
to tracked files (only to spare some stats). So do not suggest it
as a means to achieve that.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Michael J Gruber authored and Junio C Hamano committed Dec 9, 2014
1 parent ccadb25 commit 936d2c9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Documentation/gitignore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,6 @@ NOTES
The purpose of gitignore files is to ensure that certain files
not tracked by Git remain untracked.

To ignore uncommitted changes in a file that is already tracked,
use 'git update-index {litdd}assume-unchanged'.

To stop tracking a file that is currently tracked, use
'git rm --cached'.

Expand Down Expand Up @@ -200,7 +197,6 @@ everything within `foo/bar`):
SEE ALSO
--------
linkgit:git-rm[1],
linkgit:git-update-index[1],
linkgit:gitrepository-layout[5],
linkgit:git-check-ignore[1]

Expand Down

0 comments on commit 936d2c9

Please sign in to comment.