Timeline for Can you recommend a good commit message template / guidelines to enforce in the company?
Current License: CC BY-SA 2.5
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 8, 2020 at 15:13 | comment | added | Marnen Laibow-Koser | @JBRWilkinson Because merge commits preserve the history better. | |
| May 24, 2020 at 8:46 | comment | added | JBRWilkinson | @MarnenLaibow-Koser Why should we use Merge commits instead of Rebase or Squash? Please give more details. | |
| May 18, 2020 at 23:13 | comment | added | Marnen Laibow-Koser | @JBRWilkinson If you use a merge commit (which you should!), the branch name will also be in the merge commit message by default. | |
| Dec 27, 2013 at 12:35 | comment | added | JBRWilkinson | Sure - and once you've gotten it reviewed, you can merge to master.. whereby the ticket reference in the branch name is lost but not if it was also in the commit message. | |
| Oct 6, 2011 at 14:52 | comment | added | Tamás Szelei | Isn't it better to do a ticket on a separate branch? | |
| Oct 6, 2011 at 14:19 | comment | added | Joachim Sauer | I came to love having a ticket assigned to every commit (some tickets can easly have multiple commits, of course): it's a very simple way to get more background information when inspecting code later on. "Why did they do that?" is much easier to answer when you have the commit comment and an issue tracking entry. | |
| Oct 6, 2011 at 12:59 | comment | added | Sardathrion - against SE abuse | @JonHopkins: While a bug tracker can be used for new features, it may not be the ideal tool. Of course, your mileage shall vary ^_~ | |
| Oct 6, 2011 at 12:46 | comment | added | Jon Hopkins | @Sardathrion - Personally I'd create trackers for the new functionality in JIRA. We do this with Bugzilla and it gives the test team (and everyone else) good visibility of everything being put into a release and minimises things going out when they've not been tested / code reviewed / whatever. | |
| Oct 6, 2011 at 9:45 | comment | added | Sardathrion - against SE abuse | +1 for bug fixes but what about new features? Unless new features are all created in JIRA as well... | |
| Feb 1, 2011 at 13:23 | history | edited | Andrey Taptunov | CC BY-SA 2.5 | deleted 3 characters in body |
| Feb 1, 2011 at 12:52 | history | answered | Andrey Taptunov | CC BY-SA 2.5 |