Top "Githooks" questions

Git hooks are scripts that are executed upon certain git events.

Git push error pre-receive hook declined

I have run gitlabhq rails server on virtual machine, following 1-6 steps from this tutorial https://github.com/gitlabhq/gitlab-recipes/…

gitlab githooks
Skip Git commit hooks

I'm looking at a git hook which looks for print statements in Python code. If a print statement is found, …

git githooks git-commit
Make git automatically remove trailing whitespace before committing

I'm using git with my team and would like to remove whitespace changes from my diffs, logs, merges, etc. I'm …

git whitespace githooks
update package.json version automatically

Before I do a small release and tag it, I'd like to update the package.json to reflect the new …

git node.js npm githooks
Deploy a project using Git push

Is it possible to deploy a website using git push? I have a hunch it has something to do with …

git deployment webserver githooks
Putting git hooks into repository

Is it considered to be a bad practice - to put .git/hooks into the projects repository (using symlinks, for …

git hook githooks
Git hook to send email notification on repo changes

How do I configure the appropriate Git hook to send a summary email whenever a set of changes is pushed …

git githooks
Is there a way to lock individual files or directories on fork when using git?

We are a team of 60+ developers working on the same product and are moving from SVN to Git and GitHub. …

git github githooks github-api
Can Git hook scripts be managed along with the repository?

We'd like to make a few basic hook scripts that we can all share -- for things like pre-formatting commit …

git githooks
Applying a git post-commit hook to all current and future repos

I've written a Git post-commit hook and it works correctly. However, I want to add this hook to apply to …

git hook githooks