Using the Git pre-commit hook

Introduction

Thanks to the fine folks at Next Big Sound, there is a Git pre-commit hook that ties into the Sprint.ly API and scans your commit messages for Sprint.ly item numbers. If it doesn't find a referenced item, it will show you a list of items assigned to you.

Installing the pre-commit hook

The instructions are fairly straightforward and included in the GitHub repository. Please contact us via support if you have any issues.

Using the pre-commit hook

When you commit without a ticket number it will list tickets assigned to you. Just enter the item numbers your commit references and hit enter. The script will then append them to your commit message.

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk