Git file permissions on Windows

后端 未结 6 2029
清歌不尽
清歌不尽 2020-12-04 04:58

I\'ve read through a few questions regarding file permissions in Git and I\'m still a bit confused. I\'ve got a repo on GitHub forked from another. Post merge, they should b

6条回答
  •  一个人的身影
    2020-12-04 05:36

    I found the solution of how to change permissions (also) on Windows here: http://blog.lesc.se/2011/11/how-to-change-file-premissions-in-git.html

    For example following command adds user execute permission to an arbitrary file:

    git update-index --chmod=+x 
    

提交回复
热议问题