Besides getting these files back under version control, there is another point that might help you.
When you lose overview of the file you marked as --assume-unchanged, you would like to get a list of these files.
You can get this list via command line and executing following line as mentioned in [Can I get a list of files marked --assume-unchanged?]:
git ls-files -v | grep '^[[:lower:]]'
So you get an output like that:
h path/to/ignored.file
h another/ignored.file
But be aware that you need the mentioned commands (git
and grep
) on your path.
Easiest way to achieve that in Windows to install these is to use chocolatey.org: Get a Powershell as administrator and execute following commands:
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
This installs chocolatey. Then you install git if you still need it:
choco install git
and then you install grep:
choco install grep
That's it.