Skip to content

Commit 936d2c9

Browse files
Michael J Grubergitster
authored andcommitted
gitignore.txt: do not suggest assume-unchanged
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>
1 parent ccadb25 commit 936d2c9

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Documentation/gitignore.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,6 @@ NOTES
135135
The purpose of gitignore files is to ensure that certain files
136136
not tracked by Git remain untracked.
137137

138-
To ignore uncommitted changes in a file that is already tracked,
139-
use 'git update-index {litdd}assume-unchanged'.
140-
141138
To stop tracking a file that is currently tracked, use
142139
'git rm --cached'.
143140

@@ -200,7 +197,6 @@ everything within `foo/bar`):
200197
SEE ALSO
201198
--------
202199
linkgit:git-rm[1],
203-
linkgit:git-update-index[1],
204200
linkgit:gitrepository-layout[5],
205201
linkgit:git-check-ignore[1]
206202

0 commit comments

Comments
 (0)