always fetch from scratch on windows
This commit is contained in:
parent
db463d4adc
commit
823d487950
1 changed files with 2 additions and 1 deletions
|
@ -8,8 +8,9 @@ set bash=c:\cygwin64\bin\bash.exe --login -c
|
|||
for /f "delims=" %%A in ('%bash% "cd `cygpath $HOMEPATH`/dev/dotfiles && git rev-parse --abbrev-ref HEAD"') do set "branch=%%A"
|
||||
%bash% 'echo "branch is $branch"'
|
||||
%bash% "cp -vr `cygpath $HOMEPATH`/.ssh $HOME/"
|
||||
%bash% "mkdir -pv $HOME/dev/"
|
||||
|
||||
%bash% "mkdir -pv $HOME/dev/"
|
||||
%bash% "rm -fr $HOME/dev/dotfiles"
|
||||
%bash% "git clone `cygpath $HOMEPATH`/dev/dotfiles $HOME/dev/dotfiles"
|
||||
%bash% "cd $HOME/dev/dotfiles && git checkout $branch"
|
||||
%bash% "export DIR=$HOME/dev/dotfiles && export NOSUDO=true && export DONT_CHANGE_SHELL=true && bash $DIR/common/configure_fresh_system"
|
||||
|
|
Loading…
Reference in a new issue