문제

Is there a git hook that gets applied after I run git stash apply? If so, what is it? More generically, is there a single commit hook that gets run after a merge,rebase,stash, etc. Basically any time a file changes due to a git operation. In lieu of a single hook, I'd accept a list of hooks for the following: post merge, post rebase, post checkout, post stash apply.

도움이 되었습니까?

해결책

Doesn't look like there is one for git stash apply. Most tend to occur on actual commits, pushes, or updates..not to changes in the working tree. This list may help:

Source: githooks(5)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top