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.

183 questions
270
votes
3 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
  • 61,070
  • 31
  • 133
  • 163
256
votes
14 answers

Install gitk on Mac

Does anyone know how to install gitk on 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 info…
Mingyu
  • 26,145
  • 13
  • 50
  • 58
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
  • 7,658
  • 3
  • 35
  • 42
123
votes
5 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
  • 10,129
  • 11
  • 54
  • 87
84
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
  • 70,511
  • 27
  • 141
  • 205
68
votes
7 answers

A pretty and feature rich git GUI for Linux

I was checking out for a rich GUI for Git on Linux. 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,032
  • 2
  • 21
  • 33
49
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,062
  • 4
  • 36
  • 46
41
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
  • 236,778
  • 296
  • 715
  • 1,125
39
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…
Coda Chang
  • 3,741
  • 5
  • 36
  • 66
38
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
  • 11,281
  • 18
  • 55
  • 80
37
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,489
  • 4
  • 33
  • 36
32
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
  • 15,030
  • 2
  • 55
  • 121
30
votes
2 answers

When I try to use gitk it gives me autorelease pool page corrupted

Since this morning when I try to use gitk on a project with a git instance it gives me this 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 attempt…
Lufth
  • 759
  • 4
  • 6
30
votes
3 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
  • 775
  • 6
  • 15
23
votes
2 answers

How to change UI colors for gitk?

I use gitk for keeping an eye onto branches, commits and so on ... I am running Ubuntu 14.04. and noticed that the background color of the branch label is different in comparison to what I am used to on another machine running Ubuntu 13.10.…
JJD
  • 44,755
  • 49
  • 183
  • 309
1
2 3
12 13