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
Post a Comment