Why doesn't git recognize that my file has been changed, therefore git add not working

前端 未结 24 2301
野趣味
野趣味 2020-12-04 08:07

I am trying to push my files to github using bash. They are already on there, and I am uploading a newer version with new lines and code, etc. But when I try git add<

24条回答
  •  独厮守ぢ
    2020-12-04 08:28

    My Git client (Gitg) caused this issue for me. Normal commands that I would usually run weren't working. Even touching every file in the project didn't work.

    I found a way to fix it and I'm still not sure what caused it. Copy your project directory. The missing files will show up in the copied directory's git status. Renaming might do the same thing.

提交回复
热议问题