From 2db3585d6178067b390962ab47cd1aeaf029f89e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 20 Sep 2025 19:13:11 +0000 Subject: [PATCH 1/2] Initial plan From d3df1c85046bea2fdc014c9f117cd10c3645937b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 20 Sep 2025 19:18:24 +0000 Subject: [PATCH 2/2] feat(gitutils): add git pn alias for push --no-verify Co-authored-by: tomgrv <1809566+tomgrv@users.noreply.github.com> --- src/gitutils/README.md | 1 + src/gitutils/alias.json | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/gitutils/README.md b/src/gitutils/README.md index f0325d78..eb07d956 100644 --- a/src/gitutils/README.md +++ b/src/gitutils/README.md @@ -82,6 +82,7 @@ The following aliases are provided to enhance your Git workflow: - `git isDirty ` - Check if the specified file has uncommitted changes. - `git isFixup` - Check if the last commit is a fixup commit. - `git isRebase` - Check if a rebase is in progress. +- `git pn` - Push without running pre-push hooks. - `git prod` - Finish a release or hotfix branch using Git Flow. - `git recallId ` - Set the Git user name and email to the author of the last commit. - `git renameTag ` - Rename a tag. diff --git a/src/gitutils/alias.json b/src/gitutils/alias.json index 71199e28..d7e1ac17 100644 --- a/src/gitutils/alias.json +++ b/src/gitutils/alias.json @@ -99,6 +99,10 @@ "cmd": "git push --force-with-lease $1", "help": "Push with force-with-lease." }, + "pn": { + "cmd": "git push --no-verify", + "help": "Push without running pre-push hooks." + }, "prod": { "cmd": "git release-prod", "help": "Run release-prod command."