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

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

    In general with this issue, first check that you're editing the file you think you are! I had this problem when I was editing a transpiled JavaScript file instead of the source file (the transpiled version wasn't under source control).

提交回复
热议问题