]> git.phdru.name Git - git-scripts.git/blobdiff - add-pubkey/add-pubkey
Add scripts to put phd public key to an orphaned branch
[git-scripts.git] / add-pubkey / add-pubkey
diff --git a/add-pubkey/add-pubkey b/add-pubkey/add-pubkey
new file mode 100755 (executable)
index 0000000..b47464f
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+git checkout --orphan phd-pubkey &&
+git rm -rf \* && git clean -d -f -q &&
+
+gpg --export phd@phdru.name >phd-public-key-B6287B03 &&
+git add phd-public-key-B6287B03 &&
+git commit -m phd-public-key-B6287B03