guix-commits
[Top][All Lists]
Advanced

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

02/03: README: Document pre-push hook with 'guix git authenticate'.


From: Ludovic Courtès
Subject: 02/03: README: Document pre-push hook with 'guix git authenticate'.
Date: Thu, 6 May 2021 06:42:33 -0400 (EDT)

civodul pushed a commit to branch master
in repository maintenance.

commit fd879eeebc1b07e45ebd8b5f4829d87953dc837c
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu May 6 12:39:51 2021 +0200

    README: Document pre-push hook with 'guix git authenticate'.
    
    * README: Document pre-push hook.
---
 README | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/README b/README
index 385f50d..338895b 100644
--- a/README
+++ b/README
@@ -1,2 +1,13 @@
 This repository is meant to contain documents and tools by Guix hackers
 and maintainers that do not fit in the Guix repository.
+
+If you’re a committer, please install this pre-push hook:
+
+cat > .git/hooks/pre-push <<EOF
+#!/bin/sh
+exec guix git authenticate 8a7e10b447b574279a7016ae6ea15bc7bcd46253 "3CE4 6455 
8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5"
+EOF
+chmod +x .git/hooks/pre-push
+
+This will check whether your commits are signed by a key listed in
+‘.guix-authorizations’ before pushing.



reply via email to

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