Skip to content

feat(repo): client-side git guardrails (Husky.NET pre-push hook)#10

Merged
ChrisonSimtian merged 1 commit into
mainfrom
chore/git-guard-husky
Jun 29, 2026
Merged

feat(repo): client-side git guardrails (Husky.NET pre-push hook)#10
ChrisonSimtian merged 1 commit into
mainfrom
chore/git-guard-husky

Conversation

@ChrisonSimtian

Copy link
Copy Markdown
Collaborator

Replicates the pre-push guard from Chrison-dev/Homelab (PR #211). Blocks direct trunk pushes, force/non-ff pushes, and pushes onto an already-merged/closed branch. Bypass: git push --no-verify. Activate per clone: dotnet tool restore && dotnet husky install.

🤖 Generated with Claude Code

Portable pre-push guard replicated from Chrison-dev/Homelab: blocks direct
pushes to the trunk, force/non-fast-forward pushes, and pushes onto a branch
whose PR is already MERGED/CLOSED. Bypass: git push --no-verify.

Activate per clone: dotnet tool restore && dotnet husky install

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisonSimtian
ChrisonSimtian merged commit b685d50 into main Jun 29, 2026
1 check passed
@ChrisonSimtian
ChrisonSimtian deleted the chore/git-guard-husky branch June 29, 2026 01:35
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.

1 participant