17
oscylo
6y

When you come back to work and want to see what has been changed in repo but commit messages look like that :(

Comments
  • 0
    I hate the ticket numbers in front of any Git message. I hate it.
    Example:
    MOBL-573: Config: changed server url

    What do you guys think?
  • 1
    @DarkVoyager Just use branch per ticket and then branch name can contain ticket id
  • 1
    That’s exactly what I used to do. Then director of engineering schools me and tells me how important JIRA is and ticket numbers should be in each ticket.

    Thank God I was forced to leave the job. I was given a PIP... look up it’s so funny. Basically new way of getting rid of employees without severance package.
  • 0
    @DarkVoyager This is the first I have heard of it but it really sounds like a tool to fire people.
  • 2
    @DarkVoyager we have this for one of the client as well. It is because they have other ci tools tracks things based on commits and reads the ticket number from the message. It's stupid cause we already have ticket number in branch name. I made a prepare commit msg hook to extract the ticket number and adds it to the message everytime automatically. Problem solved.
Add Comment