Why is git ignoring my changed file?

前端 未结 9 1135
南旧
南旧 2021-02-04 05:22

I make an arbitrary change to a file within my git working directory.

git status does not recognized that the file has changed.

git add /path

9条回答
  •  臣服心动
    2021-02-04 05:58

    You check your global git ignore file?

    git config --global --get-all core.excludesfile
    git config --system --get-all core.excludesfile
    

    If either of those return a file as their value, look in that file.

提交回复
热议问题