#!/usr/bin/env bash git reset --hard origin git pull git clean --force git prune git checkout master git submodule sync git submodule update --init git submodule foreach "git checkout master" git submodule foreach "gitr || TRUE"