dotfiles/update

10 lines
234 B
Bash
Executable file

#!/usr/bin/env bash
set -e
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${BASEDIR}"
#git submodule update --recursive --remote
git submodule foreach git fetch && git submodule foreach git reset --hard origin/master