git-shared-aliases
v0.3.2
Published
Git aliases made available across your team
Downloads
59
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:
#!/usr/bin/env bash
echo "Hello, $1"
Then, install git-shared-aliases
dependency to get aliases installed:
npm install git-shared-aliases --save-dev
Use the new alias:
git hello 'world'
See also
- husky - Git hooks made easy 🐶 woof!
License
MIT