aboutsummaryrefslogtreecommitdiffstats
path: root/add_git_key.sh
diff options
context:
space:
mode:
Diffstat (limited to 'add_git_key.sh')
-rwxr-xr-xadd_git_key.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/add_git_key.sh b/add_git_key.sh
new file mode 100755
index 0000000..222993f
--- /dev/null
+++ b/add_git_key.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+gh ssh-key add $1 --title $2
+
+rm $1
+echo "Successfully added new key with title " $2