guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: maint: Give command to install the pre-push hook.


From: Ludovic Courtès
Subject: 01/01: maint: Give command to install the pre-push hook.
Date: Sun, 26 Mar 2017 18:13:59 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 2fccc0d193497eb2ee3127270dea12be103f1bc2
Author: Ludovic Courtès <address@hidden>
Date:   Sun Mar 26 23:16:13 2017 +0200

    maint: Give command to install the pre-push hook.
    
    * HACKING: Add 'cp' line to install the pre-push hook.
---
 HACKING | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/HACKING b/HACKING
index 3490154..20cc9ea 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’).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]