Merge branch 'wk/doc-pre-rebase'
* wk/doc-pre-rebase: Documentation/githooks: Explain pre-rebase parameters
This commit is contained in:
commit
f944ec9aa5
@ -140,9 +140,11 @@ the outcome of 'git commit'.
|
|||||||
pre-rebase
|
pre-rebase
|
||||||
~~~~~~~~~~
|
~~~~~~~~~~
|
||||||
|
|
||||||
This hook is called by 'git rebase' and can be used to prevent a branch
|
This hook is called by 'git rebase' and can be used to prevent a
|
||||||
from getting rebased.
|
branch from getting rebased. The hook may be called with one or
|
||||||
|
two parameters. The first parameter is the upstream from which
|
||||||
|
the series was forked. The second parameter is the branch being
|
||||||
|
rebased, and is not set when rebasing the current branch.
|
||||||
|
|
||||||
post-checkout
|
post-checkout
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
|
Loading…
Reference in New Issue
Block a user