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

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

    Make sure not to create symlinks (ln -s source dest) from inside of Git Bash for Windows.

    It does NOT make symlinks, but does a DEEP copy of the source to the dest

    I experienced same behavior as OP on a MINGW64 terminal from Git Bash for Windows (version 2.16.2) to realize that my 'edited' changes actually were in the original directory, and my git bash commands were from within a deep copy that had remained unchanged.

提交回复
热议问题