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-managerto use the CLI
$ npm i git-alias-manager -gDownload install.py, then run the following command in the directory where
install.py was downloaded:
$ python ./install.pyTo create a public and private key for a new alias
$ gam create-aliasTo change the current alias:
$ gam change-aliasTo view the email of the current alias:
$ gam current-alias-emailTo delete a public and private key for an alias
$ gam delete-aliasTo view a full list of commands and options:
$ gam helpPlease 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.