https://github.com/lucasconstantino/git-shared-aliases
Git aliases made available across your team
https://github.com/lucasconstantino/git-shared-aliases
aliases git
Last synced: 2 months ago
JSON representation
Git aliases made available across your team
- Host: GitHub
- URL: https://github.com/lucasconstantino/git-shared-aliases
- Owner: lucasconstantino
- Created: 2020-01-31T13:15:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-05-04T15:35:56.000Z (about 4 years ago)
- Last Synced: 2025-06-13T03:46:12.616Z (about 1 year ago)
- Topics: aliases, git
- Language: JavaScript
- Homepage:
- Size: 74.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Git Shared Aliases
> Git aliases made available across your team
This package will allow your team to share the same Git aliases with ease. Very useful for aliases such as semantic commits (i.e.: `git chore 'message'`).
## Install
Create a directory named `./git-aliases` in your project root. Any executable files within this directory will be mapped to a local git alias with the same name.
Example `./git-aliases/hello` file:
```sh
#!/usr/bin/env bash
echo "Hello, $1"
```
Then, install `git-shared-aliases` dependency to get aliases installed:
```sh
npm install git-shared-aliases --save-dev
```
Use the new alias:
```sh
git hello 'world'
```
## See also
- [husky](https://github.com/typicode/husky) - Git hooks made easy 🐶 woof!
## License
MIT