1.0.1 • Published 5 months ago

git-profile-switcher v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

Git Profile Switcher

Easily switch between different Git configurations for work and personal use.

Features

✅ Configure multiple Git profiles (e.g., work, personal)
✅ Quickly switch between profiles
✅ Set profiles globally or per repository
✅ Supports SSH keys

Installation

npm install -g git-profile-switcher

Usage

Configure a New Profile

git-profile configure

You'll be prompted to enter your full name, email, and an optional SSH key.

List Available Profiles

git-profile list

Switch to a Profile

Per Repository

git-profile use <profile-name>

Globally

git-profile use <profile-name> --global

Delete a Profile

git-profile delete <profile-name>

Example

git-profile configure
# Enter details when prompted

git-profile list
# Displays all saved profiles

git-profile use work
# Switches to 'work' profile in the current repository

git-profile use personal --global
# Sets 'personal' profile globally

License

This project is licensed under the MIT License.

Author

Aditya Pachauri


Show your support! 🚀

1.0.1

5 months ago

1.0.0

5 months ago