Relative Content

Tag Archive for gitgithooks

Why isn’t there a git `post-push` hook?

I’m curious why Git doesn’t have a post-push hook. Is it due to technical reasons, or has it just not been implemented yet, or are there other considerations?

pre-pull git-hook to run locally before pull

I’m experimenting with git-hooks and custom repo layout, where I need to prepare (update in a special way) sources before pulling changes from the remote.
I couldn’t find the proper git-hook in the official list, and few related questions (like Is there any git hook for pull?) aren’t applicable in my case, since they usually focus on the post-pull phase (i.e. can be handled with post-merge or a simlar hook), while post-fetch is the last phase when I can do my tricks with the sources 🙂