GitKraken Desktop Documentation

How to Search Git Commits in GitKraken Desktop

Last updated: March 2026

Use this page to search commit history in GitKraken Desktop by message, SHA, or author and to control how much history is loaded into the Commit Graph. It is useful when search results seem incomplete because the graph depth is limited or when you want to jump into commit search from anywhere in the app.

Requirements and limits

  • Search scope: Commit message, SHA, and author
  • Default graph depth: GitKraken Desktop initially displays up to 2000 commits in the Commit Graph
  • Search limitation: If the graph is not loading enough history, search results can appear incomplete
  • Graph setting: Adjust Initial Commits in Graph or enable Show All Commits in Graph in Preferences
  • Global access: You can jump into commit search from anywhere by opening the Command Palette

How the initial number of displayed commits works

By default, GitKraken Desktop displays up to 2000 commits on the Commit Graph. To view a deeper history of your repo, set the initial number of commits to display on the graph to your preference.

Increase graph depth when: search results look incomplete because GitKraken Desktop has not loaded enough history. Don’t raise the limit unnecessarily when: the missing result is likely due to the query itself rather than the current graph depth.

Navigate to Preferences from the gear menu in the upper right corner, and find Initial Commits in Graph under General. There is no limit to how many commits can be displayed.

Preferences > General view in GitKraken Desktop, with 'Initial Commits in Graph' highlighted to show where to set the number of commits to display.
Set the number of commits to display in the Commit Graph from Preferences.

Above this setting, you’ll also find an option to Show All Commits in Graph for large repositories.

How the search bar works

The search bar in the upper right of the application defaults to commit search.

Use commit search when: you know part of a message, SHA, or author and want to jump directly to matching commits. Use the Command Palette when: you need to start a search workflow from anywhere in the app instead of from the current repo view.

GitKraken Desktop view showing a commit search for the term 'unbreak'. The search bar and match are highlighted in the interface.
Use the search bar to find commits by message, SHA, or author.

Search commits by message, SHA, or author. GitKraken Desktop updates the results live and highlights the commit in the Commit Graph.

To search from anywhere in the app, open the Command Palette:

  Mac Windows/Linux
Toggle Command Palette P CtrlP
Have feedback about this article? Did we miss something? Let us know!
On this page