diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-02-28 08:15:17 -0500 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-02-28 08:15:17 -0500 |
commit | 186125d7512bd4dd095cd7b60bc648eb603c2290 (patch) | |
tree | 6392b7d9cfd4aedea093b98152d83b8d7a01afec /git-create | |
parent | fef48aa78c305db6b5be81bff5facacba0a76f5f (diff) | |
download | scripts-186125d7512bd4dd095cd7b60bc648eb603c2290.tar.xz scripts-186125d7512bd4dd095cd7b60bc648eb603c2290.zip |
moved all i3-related scripts into i3 or i3blocks config
Diffstat (limited to 'git-create')
-rwxr-xr-x | git-create | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/git-create b/git-create deleted file mode 100755 index 48fa1d7..0000000 --- a/git-create +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -# TODO: update this for gitea, insta-creation of repo - -# create a repo of provided name on macon and make it the upstream -name=$1 -[ ! $(echo "$name" | grep ".git" -) ] && name="$1.git" - -description=$2 - -echo "'$name': '$description'" -echo "Create repo?" -read choice -[ ! $choice == "y" ] && exit 1 - -ssh git@53hor.net << EOF - cd /srv/git - git init --bare /srv/git/"$name" - cd "$name" - rm description - echo "$description" > description -EOF - -echo "Mark for export (make clone-able)?" -read choice -[[ $choice == "y" ]] && ssh git@53hor.net touch /srv/git/"$name"/git-daemon-export-ok - -echo "Clone repo locally?" -read choice -[[ ! $choice == "y" ]] && exit 1 - -git clone git@53hor.net:/srv/git/"$name" |