Re: git pull not ignoring the file which has been sent to the temporary ignore list
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 23, 2015, 19:31 UTC
- Message-ID
- <xmqqiofxqoo3.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <3278910.5D06XWKxyS@linux-wzza.site>
Arup Rakshit <aruprakshit@rocketmail.com> writes:
> I asked git not to track any changes to the file .gitignore. To do > so I did use the command - git update-index --assume-unchanged > .gitignore.
You are not asking Git to do anything. You promised Git that you will make no changes to .gitignore, and then broke that promise.
Assume-unchanged is *not* "Ignore changes to this path".