Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to search by commit hash in gitk?

Tags:

git

gitk

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?

like image 467
static_rtti Avatar asked Mar 24 '17 10:03

static_rtti


People also ask

How do I search for a specific commit in GitHub?

On GitHub, you can see the commit history of a repository by: Navigating directly to the commits page of a repository. Clicking on a file, then clicking History, to get to the commit history for a specific file.

How do you get details of a commit?

`git log` command is used to view the commit history and display the necessary information of the git repository. This command displays the latest git commits information in chronological order, and the last commit will be displayed first.


1 Answers

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.

Gitk UI

like image 91
1615903 Avatar answered Oct 12 '22 14:10

1615903