TestingDocs.com
Testing Questions
  • JBehave
  • Selenium
  • Maven
  • TestLink
  • Git
  • RAPTOR
  • Contact

What is gitk?

Tweet
Pin it

Document Contents

  • How to launch?
  • Gitk preferences
  • Git Tutorial Link

Gitk w.r.t to Git version control is a repository browser. It can be used as a commit viewer for Git. This program is free to use and redistribute under the terms of the GNU General Public License.

How to launch?

You can visualize the git repository commit history easily using this program.
You can launch it command line using the git bash. Navigate to the git repository directory and issue the below command.

$> gitk

gitk displays changes in a particular repository or a selected set of commits. You can use it to visualize the commit-graph, showing information related to each commit, and the files in the trees of each revision.

Gitk repository browser

We can use –all switch to show all refs( branches,tags..etc)

$/> gitk –all

Note that gitk will throw an error message if the present directory is not a valid git repository as shown in the picture.

 

 Gitk cannot find git repository

Gitk preferences

Gitk preferences can be set using the preferences windows. To launch the edit windows use Edit >> Preferences menu option. These preferences can be used to customize gitk tool. Using this window you can set a bunch of options, fonts and colors to the gitk window.

Gitk preferences

 

More options and information about gitk can be found at:

https://git-scm.com/docs/gitk

 

Git Tutorial Link

https://www.testingdocs.com/git-tutorials/

For more information on Git tool, visit the official website:

https://git-scm.com/

Related Posts

Git Tags

Git /

How to create a tag on GitHub?

2FA GitHub account

Git /

How to enable 2FA in GitHub?

GitHubDesktop Start Menu

Git /

What is GitHub Desktop?

EGit Plugin Settings

Git /

What is EGit?

Unstaged Changes vs Staged Changes Git

Git /

What are Unstaged and Staged changes in Git?

Tag Cloud

Eclipse Git Java Programs Mathematics

Random Questions

  • How to connect to pluggable database (PDB) using SQL*Plus?
    Overview In this tutorial, we will learn the steps

    Read more

  • How to manually Update new Edge Browser on Windows 10
    Introduction In this tutorial, we will go through the

    Read more

  • How to setup JDK 15 environment in IDEs
    Overview In this tutorial, we will see the steps how

    Read more

Latest Tweets

Tweets by @TestingDocs

Back to Top

TestingDocs.com

  • Privacy Policy
  • Cookie Policy
  • JBehave
  • Selenium
  • Maven
  • TestLink
  • Git
  • RAPTOR
  • Contact
www.TestingDocs.com | All Rights Reserved