Live data from Hacker News

Ask HN: What's the one feature you'd want in a GitHub productivity tool?

news.ycombinator.com

31–40 of 49 posts

Re: Ask HN: What's the one feature you'd want in a GitHub productivity tool?

#31

maybe there's a quick way to do this but i would like a way to find a git commit, and trace it to the people that approved a PR that got it into the default branch. it'd make my life easier to know who let the bug into prod

I wish gitlens was in the GitHub.dev environment. I use it's like blame all the time!

You can install it and it'll work. Check your extensions tab to make sure it's loaded.

Re: Ask HN: What's the one feature you'd want in a GitHub productivity tool?

#33

A chronological list of all the commits that affected a line of code. I've often gone and looked at a line, looked at the blame for that line, and then had to traverse backwards through history to find where the change I'm interested in happened. Using the GitHub UI, this takes a considerable amount of clicks. 1) Click on a file 2) Click blame 3) Click the parent commit SHA 4) Click View File 5) Click blame Repeat as…

Here is how you can do this via the commandline for one or more lines: git log -L 40,50:app/models/user.rb

I think that will lose track of what you're really after if the function changes enough, or is moved to a different part of the file, or just moved out. Without tools that understand the code (e.g. AI) git alone can't keep track of changes the way humans do.

Re: Ask HN: What's the one feature you'd want in a GitHub productivity tool?

#35

I’d like to see fine grained control over what PR notifications I get. Let me unsubscribe from notifications for some of the teams I’m on but don’t need to directly review. This would make it easier for me to help my day-to-day team be more productive. But… that’s probably not in scope for your tool.

I think you can already do that

Re: Ask HN: What's the one feature you'd want in a GitHub productivity tool?

#36

A chronological list of all the commits that affected a line of code. I've often gone and looked at a line, looked at the blame for that line, and then had to traverse backwards through history to find where the change I'm interested in happened. Using the GitHub UI, this takes a considerable amount of clicks. 1) Click on a file 2) Click blame 3) Click the parent commit SHA 4) Click View File 5) Click blame Repeat as…

In the "Blame" view on Github, you can click the little stacked-rectangles next to a line and it will take you directly to the blame of the commit before that change occurred.

Re: Ask HN: What's the one feature you'd want in a GitHub productivity tool?

#37
Hmm, I don't think that I would want a GitHub productivity tool. The experience is already pretty optimal for PRs and code review. In terms of things within the development lifecycle that would need their productivity boosted, GitHub isn't close to the top of the list for me.

Re: Ask HN: What's the one feature you'd want in a GitHub productivity tool?

#39
post #33

Earlier quoted context omitted.

Here is how you can do this via the commandline for one or more lines: git log -L 40,50:app/models/user.rb

I think that will lose track of what you're really after if the function changes enough, or is moved to a different part of the file, or just moved out. Without tools that understand the code (e.g. AI) git alone can't keep track of changes the way humans do.

Yeah, you're right. I did a little investigation before posting that and it seemed to handle some movement within the file but after looking at it more closely I see it is not fully robust (even within the same file it misses some earlier changes).

This page provides some other techniques: https://tekin.co.uk/2020/11/patterns-for-searching-git-revis... but I think they have their own limitations.

Re: Ask HN: What's the one feature you'd want in a GitHub productivity tool?

#40
post #37

Hmm, I don't think that I would want a GitHub productivity tool. The experience is already pretty optimal for PRs and code review. In terms of things within the development lifecycle that would need their productivity boosted, GitHub isn't close to the top of the list for me.

[deleted]
Post reply on HN