Add remoter script

This commit is contained in:
Wiktor Zykubek 2020-07-28 21:49:56 +02:00
parent 838bc6ee1f
commit 1f24e2c034

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"