Skip to content

Commit

Permalink
docs: describe pre-rebase hook
Browse files Browse the repository at this point in the history
Documentation/git-rebase.txt talks about pre-rebase hook, but it
appears that Documentation/git-hooks.txt does not have corresponding
entry for it.

Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  • Loading branch information
Nanako Shiraishi authored and Shawn O. Pearce committed Oct 6, 2008
1 parent d09e2cd commit 00e5d48
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Documentation/githooks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@ parameter, and is invoked after a commit is made.
This hook is meant primarily for notification, and cannot affect
the outcome of 'git-commit'.

pre-rebase
----------

This hook is called by 'git-rebase' and can be used to prevent a branch
from getting rebased.


post-checkout
-----------

Expand Down

0 comments on commit 00e5d48

Please sign in to comment.