Gitextensions: [Request] Search for commit hash

Created on 18 May 2011  ·  7Comments  ·  Source: gitextensions/gitextensions

Github is certainly no help here, and Git Extensions would be a huge advantage over Github with this feature.

Most helpful comment

You can actually go straight to a commit using a hash using ctrl+shift+g. This brings up a dialog where you can enter a hash and then it will take you to that commit in the list.

Another option is to enter you hash into the "Branches" field above the revision grid. This will filter the revision grid with all changes up to the given commit.

These options aren't totally obvious though and maybe something could be done to make them a bit more discoverable.

All 7 comments

You can actually go straight to a commit using a hash using ctrl+shift+g. This brings up a dialog where you can enter a hash and then it will take you to that commit in the list.

Another option is to enter you hash into the "Branches" field above the revision grid. This will filter the revision grid with all changes up to the given commit.

These options aren't totally obvious though and maybe something could be done to make them a bit more discoverable.

Edit: Oops, wrong close button.

Sonovagun, I've never seen that option before. Thanks!

In that case, I respectfully change this request to: "Please add the "Go to commit" search function to the CTRL+F Filter window and as an option in the Filter field above the revision grid". The Filter field is ready and waiting for this kind of addition, and the CTRL+F is almost a universal search shortcut. It would make perfect sense to add it to both places.

This is by design

That's ... not exactly a highly discoverable feature for something as heavily used as a "git show" equvialent.

Url with full SHA can be used to open target commit page. Just add full SHA to the link https://github.com/Digitalchemy/partner/commit/ and open the url. Github uses hash as id for commit.

Maybe we can put a link in the filter dialog that closes that dialog and brings up the navigate to commit dialog?

@VladimirRychlitskiy This isn't about using github to do it. This is about using gitextensions.

@VladimirRychlitskiy thank you for that solution :: Google search ended up here - do you have another one / forked or cloned/ - https://github.com/Digitalchemy/partner/commit/ seems to be gone.

@vbjay wherever knowledge is found and discussed, there is a fountain spring for those needing refreshing; thank you for your tolerance on our journey's.

@mockobject Not sure about the ctrl+shft+g & doesn't help if you don't have the hash - From searching, I gathered; w/ the hash you can add it to the end of the URL.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HappyNTH picture HappyNTH  ·  3Comments

andrey-helldar picture andrey-helldar  ·  4Comments

mmoayyed picture mmoayyed  ·  3Comments

drewnoakes picture drewnoakes  ·  3Comments

longjxchina picture longjxchina  ·  4Comments