Why is git ignoring my changed file?

前端 未结 9 1328
南旧
南旧 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 06:19

    Check using

    $ git ls-files --exclude-standard --ignore
    

    if the file is truly not excluded (there are other exclude files than only .gitignore).

提交回复
热议问题