For a project I'm working on, I want to use:
git add . -A
to add some files to the stage. The problem is that Git thinks these files are unchanged from the last commit, so they are ignored. However, I personally changed the file, but Git still sees the file as unchanged.
How can I "forcefully" add that single file to my repository?
It seems like the
assume-unchanged
-bit is set for that file. With that bit set, git will not look for changes of that file anymore. Unset it by typing:After that,
git status
as well asgit add
should detect the changed file.