Skip to content

Git User Manager is a command-line interface tool designed to simplify managing Git user configurations on your local machine. It provides an interactive menu for listing users, displaying the current user, adding a new user, and changing the active user seamlessly.

License

Notifications You must be signed in to change notification settings

alwaz-shahid/git-user-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Git User Manager Logo


Git User Manager CLI Tool

Overview

Git User Manager is a command-line interface (CLI) tool designed to simplify managing Git user configurations on your local machine. It provides an interactive menu for listing users, displaying the current user, adding a new user, and changing the active user seamlessly.

Features

  • List All Configured Git Users: View all users configured on your machine.
  • Display Currently Active Git User: Quickly check who the current active Git user is.
  • Add New User: Add a new user to the global Git configuration.
  • Switch Users: Switch to a different user from the list of configured users.

Usage

This tool runs interactively without requiring command-line arguments. Simply follow the prompts in the menu to perform actions.

Getting Started

  1. Clone the Repository:

    git clone https://github.com/alwaz-shahid/git-user-manager.git
    cd git-user-manager
  2. Build and Run:

    cargo build --release
    cargo run --release
  3. Download from Releases: Alternatively, you can download the pre-built binaries from the releases page.

Features to Add

  • Add current user to JSON file if exists.
  • Handle duplicate entries.
  • Create a GUI version.
  • Explicitly handle "You don't have permissions to push username/repository" issue on Windows.
  • Improve README documentation.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Contact

For any questions or feedback, feel free to open an issue or contact the maintainer directly.


About

Git User Manager is a command-line interface tool designed to simplify managing Git user configurations on your local machine. It provides an interactive menu for listing users, displaying the current user, adding a new user, and changing the active user seamlessly.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages