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

后端 未结 9 948
旧时难觅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条回答
  •  旧时难觅i
    2020-12-04 14:51

    A pretty simple fix for me - I had opened the Git Bash in a subdirectory of the project.

    Open the Bash and doing the commands in the root directory fixed this problem; git add -A . worked as expected.

提交回复
热议问题