From 01e4f36de9034c368776da30fa97cf5ac1582ca8 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Sun, 15 Aug 2021 23:01:10 +0700 Subject: [PATCH] something something --- scripts/git.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 scripts/git.sh diff --git a/scripts/git.sh b/scripts/git.sh new file mode 100644 index 0000000..0661356 --- /dev/null +++ b/scripts/git.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +echo "create a ssh key" +echo "gimme your email: " +read EMAIL +ssh-keygen -t rsa -C $EMAIL + +echo "create a gpg key" +gpg --full-generate-key +gpg --list-secret-keys --keyid-format=long +echo "enter the secret on sec rsa4096/THIS PART: " +read SECRETKEY +gpg --armor --export $SECRETKEY + +echo "now go to the .ssh directory, copy the contents of the id_rsa.pub to github" +echo "then copy the public key block above also to github" +echo "link to speed up everything: https://github.com/settings/keys" \ No newline at end of file