Merge branch 'ks/prepare-commit-msg-sample'
Remove an example that is now obsolete from a sample hook, and improve an old example in it that added a sign-off manually to use the interpret-trailers command. * ks/prepare-commit-msg-sample: hook: add a simple first example hook: add sign-off using "interpret-trailers" hook: name the positional variables hook: cleanup script
This commit is contained in:
@ -121,8 +121,8 @@ it is not suppressed by the `--no-verify` option. A non-zero exit
|
||||
means a failure of the hook and aborts the commit. It should not
|
||||
be used as replacement for pre-commit hook.
|
||||
|
||||
The sample `prepare-commit-msg` hook that comes with Git comments
|
||||
out the `Conflicts:` part of a merge's commit message.
|
||||
The sample `prepare-commit-msg` hook that comes with Git removes the
|
||||
help message found in the commented portion of the commit template.
|
||||
|
||||
commit-msg
|
||||
~~~~~~~~~~
|
||||
|
Reference in New Issue
Block a user