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.
- 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.
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
Ensure you have Python installed on your system. You can download it from python.org.
-
Clone the Repository:
git clone https://github.com/tilltmk/git-user-manager.git cd git-user-manager
-
Install Required Packages:
pip install customtkinter
-
Package the Application:
pyinstaller --onefile --name GitUserManager --icon=icon.png git_user_manager.py
-
Run the Installation Script:
chmod +x install.sh ./install.sh
sudo apt update
sudo apt install python3 python3-pip
pip3 install customtkinter
sudo pacman -Syu
sudo pacman -S python python-pip
pip install customtkinter
sudo dnf update
sudo dnf install python3 python3-pip
pip3 install customtkinter
sudo zypper refresh
sudo zypper install python3 python3-pip
pip3 install customtkinter
You can start the application by running:
python git_user_manager.py
-
Add New Credential:
- Click the
Add
button. - Fill in the username, password, and remote URL.
- Click
Submit
.
- Click the
-
Edit Credential:
- Select a credential by clicking the checkbox next to it.
- Click the
Edit
button. - Modify the fields as needed.
- Click
Submit
.
-
Delete Credential:
- Select the credential(s) you wish to delete.
- Click the
Delete
button.
-
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.
- A dialog window for adding a new Git credential.
- A dialog window for entering the repository path.
- The main application window for managing credentials and repositories.
Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.
This project is licensed under the GNU GPL v3 License.
Special Thanks to Wil Nichols via Iconspedia: https://www.iconspedia.com/icon/user-black-folder-icon-36035.html
Happy managing your Git credentials! β¨