Git User Switch (gus) is a command-line tool written in Rust using the clap-rs
library that simplifies the process of switching between Git user profiles. If you frequently work with multiple Git profiles or accounts, this tool can help streamline your workflow by providing an intuitive interface for managing and activating different profiles.
- Simple Interface: The tool offers a straightforward command-line interface to manage your Git profiles.
- Profile Listing: List all available profiles and choose the one you want to activate.
- Profile Management: Add, edit, delete, and activate profiles easily.
You can install Git User Switch (gus) using the following command:
cargo install gus-rs
Switching between Git user profiles is now easier than ever. Use the following commands to manage your profiles:
-
List Profiles and Select: View all available profiles and choose the one you want to activate.
gus list
-
Add New Profile: Create a new Git user profile.
gus add --name JohnDoe --email john@example.com --profile work
-
Activate Profile: Switch to a specific Git user profile.
gus ac work
-
Delete Profile: Remove an existing Git user profile.
gus delete
-
Edit Profile: Modify the details of an existing Git user profile.
gus edit
-
Help: Access detailed help information for each command.
gus help
Contributions are welcome! If you find any issues, have suggestions, or want to contribute, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.