Skip to main content
Go to documentation navigation

Git alias

It’s possible to set up an alias in Git to use git lint as the command instead, or any other alias you prefer.

Set up your alias with the following line.

git config --global alias.lint '!lintje'

You’ll then be able to call it like the examples below and any other methods listed on the usage page.

git lint
git lint main..develop