mirror of
https://github.com/alebcay/awesome-shell.git
synced 2026-07-15 18:43:23 -05:00
[PR #703] Add gitswitch to For Developers #13098
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/alebcay/awesome-shell/pull/703
Author: @OfirHaim1
Created: 5/1/2026
Status: 🔄 Open
Base:
master← Head:add-gitswitch📝 Commits (1)
c87d17cAdd gitswitch to For Developers📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📄 Description
Adding gitswitch under
## For Developers, alphabetically betweengitaandhub.What it does
Binds a git identity (
user.email,user.name, signing key, SSH key, gh account) to a directory viaincludeIf. After a one-time setup, everycdis the switch — no manual juggling. The killer feature: a pre-commit hook (gitswitch guard) that refuses commits when the active email doesn't match the directory's bound identity, so "I committed as the wrong person" becomes structurally impossible.Single Go binary, MIT licensed, ~2 MB, no runtime dependencies. macOS arm64/x64, Linux x64/arm64, Windows.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.