aboutsummaryrefslogtreecommitdiff
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)
downloadguix-2fccc0d193497eb2ee3127270dea12be103f1bc2.tar
guix-2fccc0d193497eb2ee3127270dea12be103f1bc2.tar.gz
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 349015499f..20cc9ea6ea 100644
--- a/HACKING
+++ b/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’).