Skip to content

kujov/git-profile-manager

Repository files navigation

Git Profile Manager

GPM is a straightforward Git profile manager that simplifies switching between your profiles.

How it worksInstallation

Demo image

Installation

To install the Git Profile Manger with Hombrew follow the steps:

brew tap kujov/tap 

and

brew install git-profile-manager              

verify with

gpm

and you should see your current git user and the availible actions for the tool.

How it works

The Git Profile Manager includes the following actions:

  • get: shows active profile
  • set: switches profiles to predefined ones in the config
  • edit: opens config file with vi
  • list: lists all the profiles in the config

Create a new profile: either edit the config with gpm edit

Development

To build the package use:

pip install -e .

Also install the requirements and create a venv.

Bugs & Feature Requests

Create an Issue on the issue page.