mirror of
https://github.com/bvanroll/dotfiles-2022.git
synced 2025-08-28 19:42:51 +00:00
5 lines
318 B
Bash
5 lines
318 B
Bash
git clone -b base --bare $2 $1
|
|
|
|
git --git-dir="$2" --work-tree="$HOME" config --local status.showUntrackedFiles no
|
|
git --git-dir="$2" --work-tree="$HOME" checkout || echo -e 'Deal with conflicting files, then run (possibly with -f flag if you are ok with overwriting)\ngit --git-dir="$2" --work-tree="$HOME" checkout'
|