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 <file>
More Related Contents:
- Git symbolic links in Windows
- Filename too long in Git for Windows
- How can I set up an editor to work with Git on Windows?
- Ignoring directories in Git repositories on Windows
- GIT clone repo across local file system in windows
- How to grant permission to users for a directory using command line in Windows?
- Git on Windows, “Out of memory – malloc failed”
- Git on Windows: How do you set up a mergetool?
- Setup a Git server with msysgit on Windows [closed]
- How do I get Docker to run on a Windows system behind a corporate firewall?
- Change case of a file on Windows? [duplicate]
- Git with SSH on Windows
- ‘chcp’ is not recognized as an internal or external command, operable program or batch file. on a Windows PC
- Why git can’t remember my passphrase under Windows
- How to force consistent line endings in Git commits with cross-platform compatibility
- Hosting Git Repository in Windows
- git clone error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
- What is the Windows equivalent of the diff command?
- env: bash\r: No such file or directory [duplicate]
- How do I configure Git to trust certificates from the Windows Certificate Store?
- How to upgrade Git on Windows to the latest version
- Git Bash and Pageant are not using keys
- Disable auto-completion of remote branches in Git Bash?
- Error “‘git’ is not recognized as an internal or external command”
- Git rename from index.lock to index failed
- Git fatal: remote end hung up
- How do I apply a diff patch on Windows?
- docker error on windows : the input device is not a TTY. If you are using mintty, try prefixing the command with ‘winpty’ [duplicate]
- MSysGit and ssh config. missing
- Out of a git console: how do I execute a batch file and then return to git console?