Why is git ignoring my changed file?

前端 未结 9 1137
南旧
南旧 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:13

    if your file is in the 'Changes to be committed' bucket then git already recognized the change and is going to commit it! Its in the index already. Otherwise it would be in the 'Changed but not updated' bucket.

    :)

    Hope this helps/

提交回复
热议问题