Skip to content

feat(gitutils): add git pn alias for push --no-verify - #13

Merged
tomgrv merged 2 commits into
mainfrom
copilot/fix-12
Sep 22, 2025
Merged

feat(gitutils): add git pn alias for push --no-verify#13
tomgrv merged 2 commits into
mainfrom
copilot/fix-12

Conversation

Copilot AI commented Sep 20, 2025

Copy link
Copy Markdown
Contributor

This PR adds a new git pn alias to the gitutils devcontainer feature that executes git push --no-verify, providing developers with a convenient shortcut to bypass pre-push hooks when needed.

Changes Made

  • Added "pn" alias to alias.json: Configured to execute git push --no-verify with appropriate help text
  • Updated README.md documentation: Added the new alias description in proper alphabetical order
  • Maintained consistency: Follows the same structure and formatting as existing aliases

Usage

Once the gitutils feature is installed in a devcontainer, developers can use:

git pn
# Equivalent to: git push --no-verify

This streamlines the workflow for cases where developers need to quickly push changes while bypassing pre-push hooks, such as during debugging or when dealing with legacy codebases.

Testing

  • Verified JSON syntax validity
  • Tested alias creation and execution functionality
  • Confirmed proper integration with the gitutils installation process
  • Validated alphabetical ordering in both configuration and documentation files

Fixes #12.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: tomgrv <1809566+tomgrv@users.noreply.github.com>
Copilot AI changed the title [WIP] Add "git pn" alias for "git push --no-verify" command feat(gitutils): add git pn alias for push --no-verify Sep 20, 2025
Copilot AI requested a review from tomgrv September 20, 2025 19:21
@tomgrv
tomgrv marked this pull request as ready for review September 22, 2025 16:24
Copilot AI review requested due to automatic review settings September 22, 2025 16:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new git pn alias that provides a convenient shortcut for git push --no-verify, allowing developers to bypass pre-push hooks when needed.

  • Added "pn" alias configuration to alias.json with appropriate command and help text
  • Updated README.md documentation to include the new alias description
  • Maintained consistency with existing alias structure and alphabetical ordering

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/gitutils/alias.json Added "pn" alias configuration for git push --no-verify
src/gitutils/README.md Added documentation for the new "pn" alias in alphabetical order

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@tomgrv
tomgrv merged commit 8ee0707 into main Sep 22, 2025
2 checks passed
@tomgrv
tomgrv deleted the copilot/fix-12 branch September 22, 2025 17:37
tomgrv added a commit that referenced this pull request Sep 23, 2025
* Initial plan

* feat(gitutils): add git pn alias for push --no-verify

Co-authored-by: tomgrv <1809566+tomgrv@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tomgrv <1809566+tomgrv@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "git pn" alias for "git push --no-verify" command

3 participants