I have an ignored file in .gitignore but I'm delete the file with:
git rm --cached myFile
And push to remote repository by mistake. When I sent pull-request its file display deleted file. I use the update-index command:
git update-index --assume-unchanged myFile
Return to me this error: fatal: Unable to mark file myFile
How to add this file repository and ignore changes?