Crates.io | maven |
lib.rs | maven |
version | 0.1.0 |
source | src |
created_at | 2023-12-15 16:37:03.833454 |
updated_at | 2023-12-15 16:37:03.833454 |
description | This repo contains a simple utility to switch between different Github accounts. |
homepage | |
repository | |
max_upload_size | |
id | 1071112 |
size | 30,875 |
The GitHub Account Manager is a command-line tool designed to simplify the management of GitHub accounts for Git configurations. This tool helps you switch between different GitHub accounts seamlessly, set and display Git configurations, and manage a list of GitHub accounts.
Working with multiple GitHub accounts on a single machine can be challenging due to potential conflicts in Git configurations. This tool addresses this issue by allowing users to switch between GitHub accounts easily, set configurations for specific accounts, and manage a list of accounts associated with their Git environment.
Follow these steps to install and use the functionality of the GitHub Account Manager:
Prerequisites
Rust Installed: Ensure that you have Rust installed on your machine. If not, you can install Rust.
Git Installed: Make sure Git is installed on your system, as this tool relies on Git for configuration operations.
git clone <repository_url>
cd <repository_directory>
cargo build --release
echo 'export PATH=$PATH:$(pwd)/target/release' >> ~/.bashrc
manager <subcommand> [options]
manager set <username> <email>
manager list
manager switch <username>
manager reset [<username>]
manager config --username <username>
manager show
This project is licensed under MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)