I was trying to add an error log to my .gitignore file, and somewhere along the way read that I had to specifically untrack the file after adding it to .gitignore. Somehow, I wound up using this to do so:
git update-index --assume-unchanged Logs/Err.log
All looked well, until I went to switch to my develop branch to merge. I can't change branches. I get the following error:
Your local changes to the following files would be overwritten by checkout: Logs/Err.log
Yet when I run a git status --s
from my current branch, I get "nothing to commit, working directory clean"
I screwed up somewhere. How can I "actually" ignore that error log? How do I revert back to my previous non-update-index command?