From e0fe892c472bf58a5581a9d0f671c0b39e16f1e8 Mon Sep 17 00:00:00 2001 From: samedamci Date: Tue, 28 Jul 2020 21:49:56 +0200 Subject: [PATCH] Add remoter script --- .local/bin/scripts/remoter | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 .local/bin/scripts/remoter diff --git a/.local/bin/scripts/remoter b/.local/bin/scripts/remoter new file mode 100755 index 0000000..65bec00 --- /dev/null +++ b/.local/bin/scripts/remoter @@ -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"