From eac1e0b59e6350b78ac93f9c2d3fc0a082435cb1 Mon Sep 17 00:00:00 2001 From: PTah Date: Tue, 16 Jun 2026 11:40:15 +1000 Subject: [PATCH] fix(scripts): Push-Mirror ignores untracked files Co-authored-by: Cursor --- scripts/Push-Mirror.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Push-Mirror.ps1 b/scripts/Push-Mirror.ps1 index 4602a60..9aaecca 100644 --- a/scripts/Push-Mirror.ps1 +++ b/scripts/Push-Mirror.ps1 @@ -21,8 +21,8 @@ if ($LASTEXITCODE -ne 0) { throw "remote not configured: $remote" } -if ((git status --porcelain)) { - throw 'working tree not clean; commit or stash first' +if ((git status --porcelain -uno)) { + throw 'working tree has uncommitted tracked changes; commit or stash first' } $before = (git rev-parse HEAD).Trim()