No UX for browsing the code at a commit #192776
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Product Feedback
Body
I frequently want to browse the code at a certain commit. I want to do this online because I normally do not want to commit my current work and then switch back and forth between commits locally, just to look up something.
As the repos I normally work with are quite large I do not want to have a second local copy of all repos I use. Looking around how to browse code at a commit on Github.com, I found nothing. The branch selector on the code browser page does not allow pasting commit hashes.
Asking Copilot, it told me to craft my own URL form this wonderful URL-template:
https://github.com/{owner}/{repo}/tree/{commit-sha}/{optional-path}
I can also omit the optional-path.
Is this seriously the canonical way to do this?
Since Github obviously has this functionality already, please make it available in the UX of the pages?
That should be a super small frontend change that puts you on par with Gitlab in that regard.
Beta Was this translation helpful? Give feedback.
All reactions