We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82b955c + 0414acc commit 8ddd9c1Copy full SHA for 8ddd9c1
Documentation/githooks.txt
@@ -140,9 +140,11 @@ the outcome of 'git commit'.
140
pre-rebase
141
~~~~~~~~~~
142
143
-This hook is called by 'git rebase' and can be used to prevent a branch
144
-from getting rebased.
145
-
+This hook is called by 'git rebase' and can be used to prevent a
+branch from getting rebased. The hook may be called with one or
+two parameters. The first parameter is the upstream from which
146
+the series was forked. The second parameter is the branch being
147
+rebased, and is not set when rebasing the current branch.
148
149
post-checkout
150
~~~~~~~~~~~~~
0 commit comments