stash any changes in local repo

This commit is contained in:
Adam Warner 2016-10-18 13:54:09 +01:00
parent ce46c4dec4
commit ff5d5b97c3
1 changed files with 1 additions and 0 deletions

View File

@ -702,6 +702,7 @@ update_repo() {
# Pull the latest commits
echo -n "::: Updating repo in $1..."
cd "${1}" || exit 1
git stash -q > /dev/null & spinner $!
git pull -q > /dev/null & spinner $!
echo " done!"
}