I have some files that was once in the git repository but later ignored. (mainly configuration files) However, when I run git reset --hard
, the changes on these ignore files are also reset, where I am sure the head version has already got those files ignored.
Is this normal? And is there a way to make git reset --hard
to ignore the changes on the ignored files?