diff --git a/bootstrap.sh b/bootstrap.sh index 4e66149..6803f79 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -158,7 +158,7 @@ update_repo() { info "Repository out of date. Pulling updates..." local old_sha old_sha=$(git rev-parse HEAD) - git fetch origin && git reset --hard origin/master && git clean -fd &>/dev/null + git fetch origin &>/dev/null && git reset --hard origin/master &>/dev/null && git clean -fd &>/dev/null git log --format='%C(yellow)%h%C(reset) %C(cyan)%ar%C(reset) %s' "$old_sha"..HEAD else info "Repository not found. Cloning..."