News for hackers. Stuff that matters.
Re:Show HN: I made a tool that made me faster at Git by yyx on Saturday August 04, 2018 @11:44PM (#17689552)
> the only way you can link a git commit to a ticket is by putting the ticket ID into the commit message

Is there any other way?

Re:Show HN: I made a tool that made me faster at Git by kemayo on Sunday August 05, 2018 @01:18AM (#17689819)
Presumably after the fact by linking them entirely within Jira. You could mention the commit in the ticket, but that wouldn't make a back-link from the commit if someone's browsing from that direction.

That said, I don't really mind mentioning the ticket in the commit. It's relevant to what one is doing when one makes the commit.

But then I use gerrit at my job, so I don't have room to complain about others' systems.

Re:Show HN: I made a tool that made me faster at Git by corndoge on Sunday August 05, 2018 @02:18AM (#17689989)
It sucks when you work on public open source code with internal forks.
Re:Show HN: I made a tool that made me faster at Git by dvlsg on Sunday August 05, 2018 @03:50AM (#17690242)
I think naming the branch and/or the pr title after the jira ticket works too. I think it just needs to contain it, too. My feature branches usually look something like feature/proj-123-short-description. But to be honest, my extended commit descriptions usually contain the ticket number too, so I may be remembering wrong.

Not sure if that's better or worse, though.