I'm trying to push changes I made to a file's attributes (read/write permissions, etc.) and git isn't letting me because the actual contents of the file have not changed. Running git rm
and git add
on the file did not help, it just says that there's nothing to commit.
Is there a way I can force git to assume a file is changed, or to commit it anyway? I'd rather not make a trivial edit to the file because then the purpose of the commit will seem misleading, even with a message saying so.
I've searched around for other people having this issue and honestly I didn't find any. I don't have a .gitignore
, there are no assume-unchanged bits set, etc.