If you control the git install you can modify the template files to enable pre-commit hooks (but you can still disable them with a git commit flag). These are the boiler plate files written to .git/ at init and clone time.
you can also run checks using Jenkins or whatnot against a designated shared repo. There's a handful of hooks you can run on the receiving ("server") side too. What are you trying to accomplish? Reading about "git hooks" is one place to start. man githooks -- David On Aug 16, 2011, at 11:05 PM, Pankaj Gupta <synopsys_pan...@yahoo.co.in> wrote: > When user commit in git repo. we would like certain checks to be done. > How can that be achieved. > Is there a manual which talks about that? > > P > > -- > You received this message because you are subscribed to the Google Groups > "Git for human beings" group. > To post to this group, send email to git-users@googlegroups.com. > To unsubscribe from this group, send email to > git-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/git-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.