Update 'clone_dotfiles.sh'
This commit is contained in:
parent
371170e9db
commit
1c4e31af9d
|
@ -1,6 +1,11 @@
|
||||||
# Run with
|
# Run with
|
||||||
# curl https://git.timo.one/tosu/pastebin/raw/branch/main/clone_dotfiles.sh | sh
|
# curl https://git.timo.one/tosu/pastebin/raw/branch/main/clone_dotfiles.sh | sh
|
||||||
git clone --separate-git-dir=$HOME/.dotfiles https://git.timo.one/tosu/dotfiles.git $HOME/dotfiles-tmp
|
git clone --separate-git-dir=$HOME/.dotfiles https://git.timo.one/tosu/dotfiles.git $HOME/dotfiles-tmp
|
||||||
|
# OR (for push/pull)
|
||||||
|
git clone --separate-git-dir=$HOME/.dotfiles gt:tosu/dotfiles $HOME/dotfiles-tmp
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
cp -r ~/dotfiles-tmp/.* ~
|
cp -r ~/dotfiles-tmp/.* ~
|
||||||
cp -r ~/dotfiles-tmp/* ~
|
cp -r ~/dotfiles-tmp/* ~
|
||||||
rm -r ~/dotfiles-tmp/
|
rm -r ~/dotfiles-tmp/
|
||||||
|
|
Loading…
Reference in New Issue