dotfiles/update

11 lines
226 B
Text
Raw Normal View History

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