summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-03-26 23:16:13 +0200
committerLudovic Courtès <ludo@gnu.org>2017-03-27 00:13:18 +0200
commit2fccc0d193497eb2ee3127270dea12be103f1bc2 (patch)
treebc1ab38eb721c43cd8f37a3a9a01d71ffdca13e9 /HACKING
parent5d073bdb0501f2ff88af1d8a6b0add90a9e97427 (diff)
maint: Give command to install the pre-push hook.
* HACKING: Add 'cp' line to install the pre-push hook.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING7
1 files changed, 4 insertions, 3 deletions
diff --git a/HACKING b/HACKING
index 349015499fc..20cc9ea6ea9 100644
--- a/HACKING
+++ b/HACKING
@@ -46,9 +46,10 @@ configure Git to automatically sign commits, run:
46 git config commit.gpgsign true 46 git config commit.gpgsign true
47 git config user.signingkey CABBA6EA1DC0FF33 47 git config user.signingkey CABBA6EA1DC0FF33
48 48
49You can prevent yourself from accidentally pushing unsigned commits to Savannah 49You can prevent yourself from accidentally pushing unsigned commits to
50by using the pre-push Git hook called 'pre-push'. It's located at 50Savannah by using the pre-push Git hook called located at ‘etc/git/pre-push’:
51'etc/git/pre-push'. 51
52 cp etc/git/pre-push .git/hooks/pre-push
52 53
53When pushing a commit on behalf of somebody else, please add a Signed-off-by 54When pushing a commit on behalf of somebody else, please add a Signed-off-by
54line at the end of the commit log message (e.g. with ‘git am --signoff’). 55line at the end of the commit log message (e.g. with ‘git am --signoff’).