GAM is a CLI application (with an API component) written in NodeJS for managing multiple Git accounts (aliases).
to use the API
$ npm i git-alias-manager
to use the CLI
$ npm i git-alias-manager -g
Download install.py
, then run the following command in the directory where
install.py
was downloaded:
$ python ./install.py
To create a public and private key for a new alias
$ gam create-alias
To change the current alias:
$ gam change-alias
To view the email of the current alias:
$ gam current-alias-email
To delete a public and private key for an alias
$ gam delete-alias
To view a full list of commands and options:
$ gam help
Please see API.md
Please see CONTRIBUTING.md
If you run build.sh
in zshell, you may receive:
zsh compinit: insecure directories and files, run compaudit for list.
Ignore insecure directories and files and continue [y] or abort compinit [n]?
If you receive this, please run build.sh
again and the error will not appear.
Copyright 2020 Seth Wheeler
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.