Skip to content

πŸ‘¨β€πŸ’» Allows users to manage their Git credentials and repositories through a graphical user interface. The program provides functionality to add, edit, and delete credentials, as well as configure repositories with the selected credentials.

License

Notifications You must be signed in to change notification settings

tilltmk/git-user-manager

Repository files navigation

Git Credential Manager πŸ‘¨β€πŸ’»

Git Credential Manager

πŸ“œ Description

The Git Credential Manager is a Python-based graphical user interface (GUI) application that leverages customtkinter to help users manage Git credentials and repositories with ease. With features to add, edit, delete credentials, and configure repositories, it simplifies the process of juggling multiple Git accounts.

πŸ“ Features

  • Add Credentials: Easily add new Git credentials.
  • Edit Credentials: Modify existing Git credentials.
  • Delete Credentials: Remove Git credentials you no longer need.
  • Manage Repositories: Configure repositories with selected credentials.
  • Dark Mode UI: A sleek dark mode for better visual comfort.

πŸ“‚ File Structure

git-user-manager/
β”‚
β”œβ”€β”€ git_user_manager.py   # Main application file
β”œβ”€β”€ credentials.json      # JSON file to store credentials (auto-generated)
β”œβ”€β”€ GitUserManager.desktop   # Desktop entry file
β”œβ”€β”€ icon.png              # Application icon
β”œβ”€β”€ install.sh            # Installation script
└── README.md             # This readme file

πŸš€ Getting Started

Git Credential Manager

Prerequisites

Ensure you have Python installed on your system. You can download it from python.org.

Installation

  1. Clone the Repository:

    git clone https://github.com/tilltmk/git-user-manager.git
    cd git-user-manager
  2. Install Required Packages:

    pip install customtkinter
  3. Package the Application:

    pyinstaller --onefile --name GitUserManager --icon=icon.png git_user_manager.py
  4. Run the Installation Script:

    chmod +x install.sh
    ./install.sh

Linux Installation

Debian/Ubuntu

sudo apt update
sudo apt install python3 python3-pip
pip3 install customtkinter

Arch Linux

sudo pacman -Syu
sudo pacman -S python python-pip
pip install customtkinter

Fedora

sudo dnf update
sudo dnf install python3 python3-pip
pip3 install customtkinter

OpenSUSE

sudo zypper refresh
sudo zypper install python3 python3-pip
pip3 install customtkinter

You can start the application by running:

python git_user_manager.py

πŸ–₯️ Usage

  1. Add New Credential:

    • Click the Add button.
    • Fill in the username, password, and remote URL.
    • Click Submit.
  2. Edit Credential:

    • Select a credential by clicking the checkbox next to it.
    • Click the Edit button.
    • Modify the fields as needed.
    • Click Submit.
  3. Delete Credential:

    • Select the credential(s) you wish to delete.
    • Click the Delete button.
  4. Manage Repositories:

    • Select the credential(s) you wish to use.
    • Click the Manage Repos button.
    • Enter the repository path and submit.

    The repository will be configured with the selected credentials, including username, email, and remote URL.

πŸ› οΈ Methods Overview

AddCredentialDialog

  • A dialog window for adding a new Git credential.

RepoPathDialog

  • A dialog window for entering the repository path.

GitCredentialManager

  • The main application window for managing credentials and repositories.

πŸ§‘β€πŸ’» Contributing

Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.

πŸ“œ License

This project is licensed under the GNU GPL v3 License.

Special Thanks

Special Thanks to Wil Nichols via Iconspedia: https://www.iconspedia.com/icon/user-black-folder-icon-36035.html


Happy managing your Git credentials! ✨

About

πŸ‘¨β€πŸ’» Allows users to manage their Git credentials and repositories through a graphical user interface. The program provides functionality to add, edit, and delete credentials, as well as configure repositories with the selected credentials.

Resources

License

Stars

Watchers

Forks

Packages

No packages published