I use git on Windows via cygwin and soon decided to use filemode=false
(since otherwise I\'ve got a lot of changes after the initial git clone). I\'m definitely
I've met the same problem. git update-index --chomd=+x doesn't work for me.
I use chmod +x , then commit, it works perfect.
You should start with git update-index --chmod=+x <file>
.
But this does not change your working copy, for that:
git checkout .
I believe you want git update-index --chmod=+x <file>
, followed by a commit.