about summary refs log tree commit diff stats
path: root/setup-remotes.sh
blob: b25797aa1a0a17a60c624cf8ac93dc16a2f9aa26 (plain) (blame)
1
2
3
4
5
6
7
8
9
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