Is there any git hook for pull? -


i need perform actions (prepare gettext *.mo message files) on project everytime run git pull. there suitable git hook, use purpose please?

the githooks man page complete list of hooks. if it's not on there, doesn't exist.

that said, there is post-merge hook, , pulls include merge, though not merges pulls. it's run after merges, , can't affect outcome. never gets executed if there conflicts; you'd have pick post-commit hook if matters, or invoke manually.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -