gh-autoswitch
Auto-switch the active gh account before HTTPS git remote operations, with a Ratatui config editor.
gh-autoswitch is a cross-platform Rust binary that acts as a git credential helper to automatically run `gh auth switch` to the right GitHub account before every HTTPS git remote operation (push, pull, fetch, clone), based on the remote owner/org. It also ships a Ratatui TUI to scaffold and edit its YAML config and to detect the path to gh.
winget install --id pbrouillet.gh-autoswitch --exact --source wingetLatest 1.1.2
Details
- Homepage
- https://github.com/pbrouillet/gh-autoswitch
- License
- MIT
- Publisher
- pbrouillet
- Support
- https://github.com/pbrouillet/gh-autoswitch/issues
- Moniker
gh-autoswitch