3 ms·
this. Issue trackers like JIRA can be configured to search for commit-Ids in the messages, which will give you all commits associated with a ticket. Adding ti
by wirrbel 8y ago
this.
Issue trackers like JIRA can be configured to search for commit-Ids in the messages, which will give you all commits associated with a ticket.
Adding ticket IDs to commits has fallen a bit out of fashion since feature-branches and pull request workflows have become popular. But adding the ticket ID to the commit messages allows for trunk-based development style, while not losing the ability to make a code review over the commits referencing a ticket.
Most of the time I write the ticket ID in the text below, which keeps the `git log --oneline` pretty, the tools can still pick it up.