diff --git a/install/bootstrap-mac.sh b/install/bootstrap-mac.sh index 98b166f..eadd775 100644 --- a/install/bootstrap-mac.sh +++ b/install/bootstrap-mac.sh @@ -94,6 +94,7 @@ ensure_gh_auth() { clone_repo() { if [ -d "$TARGET_DIR/.git" ]; then say " - Repo already cloned at $TARGET_DIR" + run_quiet "Pulling latest changes" git -C "$TARGET_DIR" pull --rebase origin main return fi diff --git a/install/bootstrap-windows.ps1 b/install/bootstrap-windows.ps1 index 38f8024..5fcc698 100644 --- a/install/bootstrap-windows.ps1 +++ b/install/bootstrap-windows.ps1 @@ -95,6 +95,7 @@ function Ensure-GhAuth { function Clone-Repo { if (Test-Path (Join-Path $TargetDir '.git')) { Write-Host " - Repo already cloned at $TargetDir" + Run-Quiet -Step "Pulling latest changes" -Command "git" -Args @("-C", $TargetDir, "pull", "--rebase", "origin", "main") return }