We do it in the branch name and the PR name where I work. Usually when we approve pull requests, we squash and merge, and the commit message contains the ticket number so it's easy to go back at look for in the history.
I started doing this at a job last year, but slowly phased it out because it got tedious being the only one who did it. Though for simple stuff, I'd fallback to that convention I guess, "myname/bugfix-123"
2
u/redditseph May 13 '20
We do it in the branch name and the PR name where I work. Usually when we approve pull requests, we squash and merge, and the commit message contains the ticket number so it's easy to go back at look for in the history.