Unsync'd Git Repository in Dropbox

前端 未结 3 1594
一整个雨季
一整个雨季 2021-02-06 11:17

I have a git repository (and working directory) that is stored in my Dropbox so I can move back and forth between computers without having to commit or stash (read: without any

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-06 11:45

    I've gotten this exact problem under the same circumstances.

    To stop the files showing in git status you can set git to ignore file mode changes:

    git config core.filemode false
    

    This change is local to the git repository and will be synced along with the files.

提交回复
热议问题