3 ms·
Great system about our commit system at work is that every commit starts with the name of a ticket of our ticket system (jira) so you can go back to that ticket
by gempir 10y ago
Great system about our commit system at work is that every commit starts with the name of a ticket of our ticket system (jira) so you can go back to that ticket whenever that commit comes up anywhere and understand the commit better
- superzadeh 10y agoeven better systems allows to link tickets to commits.
- gregmac 10y agoNot the OP, but our JIRA instance does this. From a ticket in JIRA, you can see any commits, branches or pull requests mentioning that ticket. We also use this convention with gitflow, so our branches are named eg, feature/PROJ-1234-added-new-ui or bug/PROJ-2345-fix-new-ui. This also lets JIRA find and link them, and makes pull requests get the ticket number in their title by default as well (since its based on branch name). The last bit is just a short human-readable thing to make branches easier to look at and find, because the initial way we started using gitflow: feature/ feature/PROJ-2286 feature/PROJ-2352 feature/PROJ-2367 feature/PROJ-2382 feature/PROJ-2385 bug/ bug/PROJ-2240 bug/PROJ-2323 bug/PROJ-2393 is completely unintelligible.