A command cli application to manage multiple git profiles.
Requires nodejs 10.x or higher.
$> npm i -g git-profile
Configuring a new profile:
It will promp the profile name, your name and email for the new profile.
$> git-profile new
You can also specify the info as command arguments
$> git-profile new <profile-name> --name="Your cool name" --email="[email protected]"
Using a profile in your git project:
$> git-profile use --profile=<profile_name>
This command line only executes git config user.email <your_email>
and git config user.name <your_name>
based on the profile for now.
-
git clone
based on profile and SSH Key - Configure SSH key to current project
Copyright (c) 2020 Aleix Morgadas [email protected]
Licensed under MIT License