File permission issue with Mac/Windows when using git

后端 未结 2 1091
梦毁少年i
梦毁少年i 2021-01-05 01:29

I ran the following code to pull files from windows git repository.

git pull /Volumes/sucho/Desktop/git/setup

And I connect the Windows dir

2条回答
  •  醉酒成梦
    2021-01-05 02:32

    If you don't care about file permissions, you can just tell your repository to ignore file permission:

    git config core.filemode false
    

提交回复
热议问题