| Crates.io | alter |
| lib.rs | alter |
| version | 0.2.2 |
| created_at | 2025-11-30 16:27:57.926186+00 |
| updated_at | 2026-01-05 17:46:43.929664+00 |
| description | One-liner to switch Git identity and credentials. |
| homepage | |
| repository | https://github.com/AmaseCocoa/alter |
| max_upload_size | |
| id | 1958430 |
| size | 52,162 |
One-liner tool for switching Git identities and credentials.
Managing multiple Git accounts often requires switching user.name, user.email, GPG signing keys, and credential.namespace.
Doing this manually with git config is repetitive and doesn’t scale well—especially when you work across personal and organizational projects.
Alter was built to make this workflow smoother.
--localThe tool originally started as a personal project written in another language.
It was later rewritten in Rust, not only for performance, but also because of Rust’s strong Git-related ecosystem—especially crates like gix_config from the gitoxide project.
This ecosystem made Rust a natural fit for building a fast, reliable identity-switching tool.
cargo install alter
paru -S alter
alter new
alter delete <slug>
alter use <slug> [--local]
alter list
MIT