This commit is contained in:
parent
4fc9c12d5a
commit
c6e3f3ec48
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ TMPDIR=$(mktemp -u -p "$HOME" -d dotfiles.XXXXX)
|
||||||
git clone --separate-git-dir="$HOME/.cfg" https://github.com/schtobia/dotfiles.git "$TMPDIR"
|
git clone --separate-git-dir="$HOME/.cfg" https://github.com/schtobia/dotfiles.git "$TMPDIR"
|
||||||
[ -r "$TMPDIR/.gitmodules" ] && cp -vi "$TMPDIR/.gitmodules" "$HOME"
|
[ -r "$TMPDIR/.gitmodules" ] && cp -vi "$TMPDIR/.gitmodules" "$HOME"
|
||||||
git --git-dir="$HOME/.cfg/" --work-tree="$HOME" config status.showUntrackedFiles no
|
git --git-dir="$HOME/.cfg/" --work-tree="$HOME" config status.showUntrackedFiles no
|
||||||
(cd $HOME && git --git-dir="$HOME/.cfg/" --work-tree="$HOME" checkout -- .)
|
(cd $HOME && git --git-dir="$HOME/.cfg/" --work-tree="$HOME" checkout -- . && git --git-dir="$HOME/.cfg/" --work-tree="$HOME" submodule update --init --remote --recursive --rebase)
|
||||||
rm -r $TMPDIR
|
rm -r $TMPDIR
|
||||||
|
|
||||||
# node related
|
# node related
|
||||||
|
|
Loading…
Reference in a new issue