gitas-0.0.7 is not a library.
gitas
Git Account Switch / Git As

Installation
macOS / Linux
# Install Script (default: ~/.gitas/bin)
|
# System-wide install (requires sudo)
|
# Custom install directory
| INSTALL_DIR=/.local/bin
Windows
# Install Script (PowerShell)
|
Homebrew
Cargo
Usage
# Open interactive TUI to switch, edit, or remove accounts
# Add a new account (Manual or GitHub Login)
# Run any git command as a specific account
# Useful for cloning private projects
How It Works
Switching Identity: Updates your local/global git config and pre-fills the credential cache, so subsequent git commands work seamlessly without prompts.
Command Proxy (gitas git): Executes git with a temporary identity and credential helper using -c flags. It does not modify any config files, making it perfect for one-off commands.
Secure Storage: All tokens are stored in your system's native keychain (macOS Keychain, Windows Credential Manager, Linux Secret Service).
Data
- Config:
dirs::config_dir()/gitas/accounts.json - Secrets: System Keychain
Uninstallation
# Linux / macOS (Install Script)
# System-wide install
# Windows (PowerShell Install Script)
# Homebrew
# Cargo
License
This project is licensed under the Apache License, Version 2.0.