git line endings - can't stash, reset and now can't rebase over spurious line endings commit

后端 未结 6 1364
[愿得一人]
[愿得一人] 2020-12-13 13:21

I have a repo I added a gitattributes to it and was working on it fine. I sync it via dropbox to another machine. When I opened it to the other machine a bunch

6条回答
  •  眼角桃花
    2020-12-13 14:13

    The same issue happened with me today. Try this

    git config --local core.fileMode false
    

    as discussed here: How do I make Git ignore file mode (chmod) changes?

提交回复
热议问题