gitaccount-1.0.1 is not a library.
gitaccount
A CLI tool to manage multiple git accounts
Overview
gitaccount is a CLI tool for managing the user names and email addresses configured in git config.
When managing separate git accounts for work, university, or other purposes, there is a risk of committing with the wrong name or email address. gitaccount makes it possible to switch these settings with a single command.
Installation
Install the latest binary from Releases.
You can also install it via cargo.
Quick Start
- Create an account
- Switch accounts
Usage
Usage: gitaccount <COMMAND>
Commands:
create Create a new account profile
edit Edit an existing account profile
delete Delete an account profile
switch Switch git global config
list List configured accounts
logout Clear git global config
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
.gitaccount
The created account data is saved in ~/.gitaccount in TOML format.
[]
= "foo"
= "foo"
= "foo@example.com"
[]
= "bar"
= "bar"
= "bar@example.com"
License
This library is under the MIT License.