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

前端 未结 24 2354
野趣味
野趣味 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:32

    Check your .gitignore file. You may find that the file, or extension of the file, or path to the file you are trying to work with matches an entry in .gitignore, which would explain why that file is being ignored (and not recognized as a changed file).

    This turned out to be the case for me when I had a similar problem.

提交回复
热议问题