aboutsummaryrefslogtreecommitdiffstats
path: root/add_git_key.sh
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2022-09-20 23:38:36 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2022-09-20 23:38:36 +0100
commit0622363f32676c19985396177c93dbc58785925f (patch)
tree86be4d15d2e8b60325829dfa39f1e840bdc94cfb /add_git_key.sh
parenta45c5119711a4140b9710ef96ddf0578d5cf9cd3 (diff)
downloadgit-scripts-0622363f32676c19985396177c93dbc58785925f.tar.gz
git-scripts-0622363f32676c19985396177c93dbc58785925f.zip
Renamed scripts, improved README.md
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