From 9a0c184515ed5170c5ffbeb478c71f845c9cb30b Mon Sep 17 00:00:00 2001 From: zoop Date: Tue, 8 Sep 2026 19:06:59 -0400 Subject: [PATCH] website v3 --- scripts/commit.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/commit.mjs b/scripts/commit.mjs index 1be4d58..489fe17 100644 --- a/scripts/commit.mjs +++ b/scripts/commit.mjs @@ -454,9 +454,9 @@ async function main() { execFileSync("git", ["commit", "-m", message], { stdio: "inherit" }); try { - execFileSync("git", ["push"], { stdio: "inherit" }); + execFileSync("git", ["push", "origin", "main"], { stdio: "inherit" }); } catch { - console.error("\npush failed — commit is local. if this branch has no upstream yet:\n git push -u origin HEAD"); + console.error("\npush to origin/main failed — commit is local. if your local branch isn't named `main`:\n git branch -m main"); throw new Error("push"); } console.log("\ncommitted (comment-stripped) and pushed ✓");