Top "Githooks" questions

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

Writing Git hooks in python/bash scripts

I have recently needed to write git hooks, for all commits to reference a particular ticket. I was hoping for …

git githooks
How would I write a pre-merge hook in Git?

The question says it all. Is there a way to perform an action before a merge? I'm guessing there's a …

git merge githooks
How do I react to new tags in git hooks?

I'd like to set up a git hook that creates a CDN-style directory structure based on incoming tags. So, for …

git githooks
getting "fatal: not a git repository: '.'" when using post-update hook to execute 'git pull' on another repo

I'm new to git so I apologize (and please correct me) if I misuse terminology here, but I'll do my …

git githooks
Find Git branch name in post-update hook

I'm executing a programme to alert CruiseControl each time an update is sent to our remote repository. I'm using a …

git shell cruisecontrol githooks
git hooks : is there a clone hook?

We want to store some meta-information about the commit in an external database. During a clone or a checkout, this …

git githooks git-clone
How to run post-receive hook on GitHub

how to run a post-receive hook in GitHub?. I know that there is the web-one but I want to write …

git github githooks
Git hooks : applying `git config core.hooksPath`

I have a git repository with a pre-commit hook set up : my-repo |- .git |- hooks |- pre-commit # I made …

git githooks
How to remotely trigger Jenkins multibranch pipeline project build?

Title mostly says it. How can you trigger a Jenkins multibranch pipeline project build from a remote git repository? The "…

git jenkins githooks multibranch-pipeline
When I "git push" git now says "Create pull request for ...". Why?

I am making changes to a project in a branch that, so far, is known to no one else but …

git bitbucket githooks git-push