0.3.2 • Published 2 years ago

git-shared-aliases v0.3.2

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

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