README: Document pre-push hook with 'guix git authenticate'.
* README: Document pre-push hook.
This commit is contained in:
parent
8a7e10b447
commit
fd879eeebc
11
README
11
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.
|
||||
|
|
Loading…
Reference in New Issue