Adding gitswitch under ## For Developers, alphabetically between gita and hub.
* [gitswitch](https://github.com/target-ops/gitswitch) - Per-directory git identity binding with a pre-commit hook that refuses wrong-author commits.
What it does
Binds a git identity (user.email, user.name, signing key, SSH key, gh account) to a directory via includeIf. After a one-time setup, every cd is 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.
## 📋 Pull Request Information
**Original PR:** https://github.com/alebcay/awesome-shell/pull/703
**Author:** [@OfirHaim1](https://github.com/OfirHaim1)
**Created:** 5/1/2026
**Status:** 🔄 Open
**Base:** `master` ← **Head:** `add-gitswitch`
---
### 📝 Commits (1)
- [`c87d17c`](https://github.com/alebcay/awesome-shell/commit/c87d17c44b1558537a396c9cffb348541cfe50ba) Add gitswitch to For Developers
### 📊 Changes
**1 file changed** (+1 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `README.md` (+1 -0)
</details>
### 📄 Description
Adding [gitswitch](https://github.com/target-ops/gitswitch) under `## For Developers`, alphabetically between `gita` and `hub`.
```
* [gitswitch](https://github.com/target-ops/gitswitch) - Per-directory git identity binding with a pre-commit hook that refuses wrong-author commits.
```
## What it does
Binds a git identity (`user.email`, `user.name`, signing key, SSH key, gh account) to a directory via `includeIf`. After a one-time setup, every `cd` is 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.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.