#!zsh -x

git fetch origin
foreach this (cmake-utils) {
  git fetch $this master
}

git clean -ffdx
foreach this (cmake-utils) {
  git subtree pull --prefix 3rdparty/github/$this $this master --squash
}

exit 0

#!zsh -x

git fetch origin
foreach this (cmake-utils) {
  git fetch $this master
}

git reset --hard origin/master
git clean -ffdx
foreach this (cmake-utils) {
  git subtree pull --prefix 3rdparty/github/$this $this master --squash
}

exit 0

Add git reset --hard origin/master
Add git reset --hard origin/master [ci skip]
