replicate: Migrate to GitLab
This commit is contained in:
parent
1e7e2495fd
commit
7309c29728
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
tempfolder="/tmp/dots`uuidgen`"
|
tempfolder="/tmp/dots`uuidgen`"
|
||||||
gitdir="$HOME/.dotfiles"
|
gitdir="$HOME/.dotfiles"
|
||||||
git clone --recursive --separate-git-dir="$gitdir" git@github.com:rehashedsalt/home.git $tempfolder
|
git clone --recursive --separate-git-dir="$gitdir" git@gitlab.com:rehashedsalt/home.git $tempfolder
|
||||||
rsync -rvl --exclude ".git" $tempfolder/ $HOME/
|
rsync -rvl --exclude ".git" $tempfolder/ $HOME/
|
||||||
rm -r $tempfolder
|
rm -r $tempfolder
|
||||||
git submodule update --init --recursive --remote --git-dir="$gitdir" --work-tree="$HOME" $HOME/
|
git submodule update --init --recursive --remote --git-dir="$gitdir" --work-tree="$HOME" $HOME/
|
||||||
|
Loading…
Reference in New Issue
Block a user