#!/usr/bin/env bash set -e BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd "${BASEDIR}" git submodule foreach git fetch && git submodule foreach git reset --hard origin/master rm -f zimfw/modules/prompt/external-themes/lean/*.zwc rm -f zimfw/modules/prompt/external-themes/pure/*.zwc git commit -a -m "Synchronized updates $(date +"%Y-%m-%d")" git push origin #git submodule update --recursive --remote #git submodule foreach git fetch && git submodule foreach git reset --hard origin/master #rm -rf zimfw dotbot tmux #git submodule update --recursive --remote #git submodule update --init --recursive #git submodule update --init --recursive --remote #git pull --recurse-submodules #git submodule foreach git pull origin master --recurse-submodules