git add -A is not adding all modified files in directories

后端 未结 9 942
旧时难觅i
旧时难觅i 2020-12-04 14:17

I want to add all files no matter what: whether it is deleted, created, modified, untracked, etc? I just don\'t want to git add ALL my files EVERY T

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-04 14:41

    I had a similar problem on Windows where I git add --all left some files untracked, problem was that there were several files with different casing 'test.php' and 'Test.php' so git tracked Test.php and not lowercase version of it.

    This may help someone in future and save some head scratching.

提交回复
热议问题