On Thu, Jan 16, 2014 at 03:58:57PM -0800, SH wrote: > We have a repository which holds lots of shell and perl scripts. We add the > files to repository (from windows client) with executable permissions (using > cygwin) but when we pull that repository on another machine (windows or linux), > files dont have executable permission. Can you please provide a solutions for > this? Git does not preserve file permissions _except_ for the executable bit. So this should be working. However, I suspect that `core.fileMode` is set to `false` in your repository, which causes git to ignore the executable bit. When a repository is initialized, we check whether the filesystem simply creates everything with the executable bit. If so, we turn off core.fileMode for the repository (since otherwise every file would have it set). -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html