[git-users] Prevent Committing or Pushing build files

2014-09-30 Thread Jawahar Babu
Hello everyone, I'm new to this group and to GIT as well. I want to prevent developers from pushing build related files to the central server. Sometimes, the developers accidentally make changes to some the build script and push it to the central server which makes the build to fail. So I wa

[git-users] How to write a shell script that checks if files have been modified in a particular directory in GIt and then do a pull

2016-03-15 Thread Jawahar Babu
Hello Everyone, I've to write a shell script that checks for changes in a particular folder and then do a pull of the whole repository. I've a build setup for which the source code resides in only 1 directory (which has more sub directories) . So I would like to run a build only when there is