-
Notifications
You must be signed in to change notification settings - Fork 0
Hooks
askirmas edited this page Apr 11, 2020
·
2 revisions
commit | pull & merge | rebase | |
---|---|---|---|
0 | pre-commit | NO pre-merge-commit | pre-rebase |
1 | prepare-commit-msg | prepare-commit-msg | post-checkout |
2 | commit-msg | commit-msg | applypatch-msg |
3 | Merge made by the 'recursive' strategy. | pre-applypatch | |
4 | post-merge | post-applypatch | |
5 | post-rewrite |
action | step | hook | source | args | exit 1 | comments |
---|---|---|---|---|---|---|
commit | 0 | pre-commit | local | - | abort | |
commit | 1 | prepare-commit-msg | local | 1. message file path 2. type - message: -m | -F - template: -t - merge - squash 3. sha? for -c -C --amend |
abort | |
commit | 2 | commit-msg | local | 1. message file path | abort | |
commit | 3 | post-commit | local | - | ||
checkout | post-checkout | local | 1. ref old 2. ref new 3. isBranch: boolean |
- | ||
rebase | 0 | pre-rebase | local | 1. upsteram 2. rebasing branch |
abort | |
rebase | 3 | pre-applypatch | local | - | abort | The default pre-applypatch hook, when enabled, runs the pre-commit hook, if the latter is enabled. |
push | 0 | pre-receive | remote | |||
push | 1 | update | remote | |||
push | 2 | post-receive | remote |