about summary refs log tree commit diff stats
path: root/setup-remotes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup-remotes.sh')
-rw-r--r--setup-remotes.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/setup-remotes.sh b/setup-remotes.sh
new file mode 100644
index 0000000..b25797a
--- /dev/null
+++ b/setup-remotes.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+git remote add sourcehut git@git.sr.ht:~djm/dotfiles
+git remote add codeberg git@codeberg.org:djm/dotfiles.git
+git remote add tildegit git@tildegit.org:djm/dotfiles.git
+git remote add tilde.institute djm@tilde.institute:public_repos/dotfiles
+git remote add github git@github.com:deejayem/dotfiles.git
+
+for i in `git remote -v | grep -v origin|awk '{print $2}' | uniq`; do git remote set-url --add --push origin $i ; done
+