Skip to content
/ git-user Public

A simple cross-platform cli tool for switching between git profiles.

Notifications You must be signed in to change notification settings

gs256/git-user

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-user

A simple cross-platform cli tool for switching between git profiles.

Usage

The tool has a very straightforward terminal interface

$ git-user

┌──────────┐
│ GIT-USER │
└──────────┘

Pick profile for this repo
  [1] Emploee 123 ([email protected]) -> work profile
  [2] John Doe ([email protected]) -> personal profile
  [3] Jane Doe ([email protected]) -> another personal profile
  [a] Add a new profile
  [q] Quit

-> Option: 2

User John Doe ([email protected]) has been selected for this repo

All profiles are stored in ~/.config/git-user.txt in the following format

Emploee 123:[email protected]    # work profile
John Doe:[email protected]        # personal profile
Jane Doe:[email protected]        # another personal profile

License

MIT

About

A simple cross-platform cli tool for switching between git profiles.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages