Update 1 file: bootstrap.sh
This commit is contained in:
+1
-1
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user