Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/megapixel99/gam
GAM is a CLI application for managing multiple Git accounts (aliases).
https://github.com/megapixel99/gam
alias aliases git git-profiles management-system manager nodejs
Last synced: 22 days ago
JSON representation
GAM is a CLI application for managing multiple Git accounts (aliases).
- Host: GitHub
- URL: https://github.com/megapixel99/gam
- Owner: Megapixel99
- License: apache-2.0
- Created: 2020-03-31T06:09:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T21:35:44.000Z (over 1 year ago)
- Last Synced: 2024-10-18T15:34:45.572Z (26 days ago)
- Topics: alias, aliases, git, git-profiles, management-system, manager, nodejs
- Language: JavaScript
- Size: 38.3 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
![npm](https://img.shields.io/npm/v/git-alias-manager)
# GAM
###### (Git Alias Manager)
GAM is a CLI application (with an API component) written in NodeJS for managing multiple Git accounts (aliases).## Installation
#### With NPM locally
to use the API
```bash
$ npm i git-alias-manager
```
#### With NPM globally
to use the CLI
```bash
$ npm i git-alias-manager -g
```
#### Without NPM
Download `install.py`, then run the following command in the directory where
`install.py` was downloaded:
```bash
$ python ./install.py
```## CLI Usage
To create a public and private key for a new alias
```bash
$ gam create-alias
```
To change the current alias:
```bash
$ gam change-alias
```
To view the email of the current alias:
```bash
$ gam current-alias-email
```
To delete a public and private key for an alias
```bash
$ gam delete-alias
```
To view a full list of commands and options:
```bash
$ gam help
```## API Usage
Please see [`API.md`](https://github.com/Megapixel99/GAM/blob/master/API.md)## Contributing
Please see [`CONTRIBUTING.md`](https://github.com/Megapixel99/GAM/blob/master/CONTRIBUTING.md)## Known Issues
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.## License
```
Copyright 2020 Seth WheelerLicensed 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 athttp://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.
```