By default the commit search box in gitk searches in various commit fields, but doesn't include the hash. This makes it hard to locate a particular commit, especially if you only have an abbreviated hash.
Are there any workarounds for this problem?
By default the commit search box in gitk searches in various commit fields, but doesn't include the hash. This makes it hard to locate a particular commit, especially if you only have an abbreviated hash.
Are there any workarounds for this problem?
You can type the hash (abbreviation) into the box right underneath the list of commits, and then click the "Goto" button to the left of the box.
You can start gitk with the commit sha as an argument:
gitk abc123
This will make the said commit appear at the top, along with any previous commits. Any commits succeeding that commit will not be shown though.