Simp-O-Matic

Dumb Discord bot in TS.
git clone git://git.knutsen.co/Simp-O-Matic
Log | Files | Refs | README | LICENSE

set_push_url.sh (211B)


1
2
3
4
5
6
7
#!/bin/sh

GIT="$(command -v git)"
[ -z "$GIT" ] && { echo "Please install \`git\` to your PATH."; exit 1; }

URL="git@git.knutsen.co:/srv/git/Simp-O-Matic.git"
"$GIT" remote set-url --push --add origin "$URL"