Git Install Script How to enter shell command
问题 This is more of a git related question than openshift. When I push files to the git server using git, I see that the file permissions of my perl index.cgi file gets changed to 700 in my openshift repo. Hence every time I do a push, I have to log in to the server using ssh and do a chmod a+x index.cgi in my $OPENSHIFT_REPO_DIR to change it to 755. I read in the git documentation it is possible to add a hook and I tried updating the post update script in the hooks directory with the following