Add remoter script

This commit is contained in:
samedamci 2020-07-28 21:49:56 +02:00
parent 1ac3b50e46
commit e0fe892c47
No known key found for this signature in database
GPG Key ID: FCB4A9A20D00E894

7
.local/bin/scripts/remoter Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
# Initialize git repo and add remotes.
git init
git remote add origin "ssh://git@git.samedamci.me:8953/samedamci/${PWD##*/}.git"
git remote set-url --add origin "git@github.com:samedamci/${PWD##*/}.git"