GitHub - kujov/git-profile-manager: Manage your git profiles with ease

1 min read Original article ↗

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:

and

brew install git-profile-manager              

verify with

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:

Also install the requirements and create a venv.

Bugs & Feature Requests

Create an Issue on the issue page.