Questions tagged [gitk]

A graphical browser for the git distributed version control system which allows you to quickly manage branches, and search/review commit logs and diffs.

gitk is a graphical browser for the git distributed version control system which allows you to quickly manage branches, and search/review commit logs and diffs. Usually gitk is packaged with git distributions, on Linux/Unix systems you typically need to install the separate "gitk" package.

See the man page and the blog posts here. Also Guide to understanding gitk? has a nice summary and description.

202 questions
347
votes
4 answers

Difference between author and committer in Git?

I am trying to make a commit like git commit --author="John Doe " -m "" where John Doe is some user in whose name I want to make the commit. It appears all right in git log. However, when I do a gitk, the…
Anshul Goyal
  • 73,278
  • 37
  • 149
  • 186
335
votes
15 answers

Install gitk on Mac

How can I install gitk on a Mac? From their official website, it seems gitk comes with Git, but the version of my Git (git version 1.7.12.4 (Apple Git-37)) does not come with gitk. brew install gitk does not work for gitk. Version information…
Mingyu
  • 31,751
  • 14
  • 55
  • 60
154
votes
6 answers

Viewing full version tree in git

I am using the command line version of Git and gitk. I want to see the full version tree, not just the part that is reachable from the currently checked out version. Is it possible?
petersohn
  • 11,292
  • 13
  • 61
  • 98
127
votes
10 answers

gitk will not start on Mac: unknown color name "lime"

I've installed git on a mac via brew install git. When I try to start gitk I get the following error: Error in startup script: unknown color name "lime" (processing "-fore" option) invoked from within "$ctext tag conf m2 -fore [lindex…
ReggieB
  • 8,100
  • 3
  • 38
  • 46
87
votes
4 answers

Guide to understanding gitk?

I am introducing git to a team of developers and i find gitk to be an amazing tool. It's also quite hard to understand, since understanding gitk requires an understanding of both git history and the viewer tool itself. Does anyone have any good…
krosenvold
  • 75,535
  • 32
  • 152
  • 208
71
votes
7 answers

A pretty and feature rich Git GUI for Linux

I was checking out for a rich GUI for Git on Linux. As of late, I have started using it a lot and find that even though command-line is very useful, I would still want a GUI at my disposal since I am not still very much aware with the advanced…
Manish Sinha
  • 2,092
  • 2
  • 22
  • 33
54
votes
3 answers

gitk: command not found

Environment: Mac OSX 10.10. When I was trying to use gitk, it shows: Coda-2:~ Coda$ gitk -bash: gitk: command not found I think the reason is the old version of git. Here is some information, and I have already typed brew update. Coda-2:~ Coda$ git…
rj487
  • 4,476
  • 6
  • 47
  • 88
54
votes
2 answers

Can I add metadata to git commits? Or can I hide some tags in gitk

I want to associate custom metadata with a git commit. Specifically to record a review ID from a code review but it could be anything. Tags seem a natural way to do that but I expect to have a review for every commit and I don't want to clutter…
Chris Nelson
  • 3,519
  • 7
  • 40
  • 51
48
votes
4 answers

Using gitk, can I see the difference between 2 commits?

I have tried: git diff sha1 sha2 But the output isn't the best, is it possible to see the difference between 2 commits using gitk?
Blankman
  • 259,732
  • 324
  • 769
  • 1,199
45
votes
4 answers

gitk error: autorelease pool page corrupted

Since this morning when I try to use gitk on a project with a git instance it gives me the below error. This never happened to me since today and I have used gitk for months now. The only difference I can point out is that this morning, during an…
deruloop
  • 1,199
  • 7
  • 7
42
votes
6 answers

Git: Compare All Local Commits to Remote Repo Version

I'm somewhat new to Git and what I'm trying to do seems like it should be possible. Basically I've been working off of clone of a repo and have made quite a few local commits. Is there a way to see the diff of the 'sum' of all my changes and the…
Ian Dallas
  • 12,451
  • 19
  • 58
  • 82
38
votes
1 answer

gitk equivalent of git log --follow

So I have a file called one.txt that I have been modifying over the years on master branch. gitk one.txt will show the entire history of that one particular file. However after I changed one.txt => two.txt, gitk two.txt doesn't show any change…
nobody
  • 2,709
  • 6
  • 35
  • 37
35
votes
1 answer

Getting Git GUI to Ignore Space Changes in its diff View

Git comes with two default UI tools (on Windows at least): Git GUI and Gitk. When browsing a commit, Gitk has a checkbox called "Ignore space changes" that makes the diff show only non-space related changes. However, Git GUI always shows the…
Adi Shavit
  • 16,743
  • 5
  • 67
  • 137
34
votes
4 answers

Gitk lower panel cannot resize

In gitk there are two panel, the top panel which display mostly the list of commits, and the bottom panel which shows changes in this commit. Somehow, since this week I cannot adjust the height of these two panels, like making one of them…
user69715
  • 825
  • 9
  • 15
32
votes
1 answer

How does "index f2e4113..d4b9bfc 100644" in git diff correspond to SHA1 ID in gitk?

What does 'index f2e4113..d4b9bfc 100644' mean in the output from git diff? Till now I have assumed that these SHA1 ID's are from_version..to_version, but I can't find them in gitk. $ git --version git version 1.8.3.4 $ git diff ae1fdc1 diff --git…
Robert Locke
  • 455
  • 4
  • 7
1
2 3
13 14