4 ms·
I've seen plenty of git users put "[JIRA-1234]" at the beginning of a string of commit messages. That's basically poor-man's mercurial named branches.
by krupan 8y ago
I've seen plenty of git users put "[JIRA-1234]" at the beginning of a string of commit messages. That's basically poor-man's mercurial named branches.
- chopin 8y agoIsn't that what a tag int Git is for?
- deleted 8y ago[deleted]
- BerislavLopac 8y agoA tag applies to an individual commit, and is unique (i.e. you can't have the same tag on multiple commits); a named branch is applied to all commits in a branch and persists after merging. In the example mentioned by @krupan, the users tend to (and some team even require it) prefix each commit with the ticket name or similar identifier.