Git file permissions on Windows

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Git file permissions on Windows

Message par Clippy »

Git file permissions on Windows
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: Git file permissions on Windows

Message par Clippy »

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 »