mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
maint: Give command to install the pre-push hook.
* HACKING: Add 'cp' line to install the pre-push hook.
This commit is contained in:
parent
5d073bdb05
commit
2fccc0d193
1 changed files with 4 additions and 3 deletions
7
HACKING
7
HACKING
|
@ -46,9 +46,10 @@ configure Git to automatically sign commits, run:
|
|||
git config commit.gpgsign true
|
||||
git config user.signingkey CABBA6EA1DC0FF33
|
||||
|
||||
You can prevent yourself from accidentally pushing unsigned commits to Savannah
|
||||
by using the pre-push Git hook called 'pre-push'. It's located at
|
||||
'etc/git/pre-push'.
|
||||
You can prevent yourself from accidentally pushing unsigned commits to
|
||||
Savannah by using the pre-push Git hook called located at ‘etc/git/pre-push’:
|
||||
|
||||
cp etc/git/pre-push .git/hooks/pre-push
|
||||
|
||||
When pushing a commit on behalf of somebody else, please add a Signed-off-by
|
||||
line at the end of the commit log message (e.g. with ‘git am --signoff’).
|
||||
|
|
Loading…
Reference in a new issue