Git file permissions on Windows

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Git file permissions on Windows

Message par ForumBot »

Git file permissions on Windows
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Git file permissions on Windows

Message par ForumBot »

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](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

```
Répondre

Revenir à « GitHub Copilot »