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
13
votes
3 answers

Where can I find the source code of gitk?

gitk seems to have very nice interface design and whatnot. I really want to explore its source code. So where can I find it? By gitk, I mean the one to view the repository history of git.
dacongy
  • 2,504
  • 3
  • 30
  • 48
12
votes
1 answer

How to show stashes in gitk without `--all` option?

I'm working on a huge git repository that is too large to make viewing all remote branches practical. Thus I don't want to use gitk --all. However, I do like to view other things like my local branches, which I can do with gitk --branches. Is there…
Jaap Eldering
  • 466
  • 6
  • 15
11
votes
1 answer

How can i configure font size in gitk?

Using Linux, how can i configure font and font size in gitk? Looking through the menus can be quite frustrating as they offer very little configuration possibilities.
Martin G
  • 17,357
  • 9
  • 82
  • 98
10
votes
3 answers

Gitk: Setting "Ignore space change" option to be true by default

Is this possible in any way? I have tried git config --global alias.diff 'diff -b -w' but unfortunately that was not the solution.
prusswan
  • 6,853
  • 4
  • 40
  • 61
10
votes
1 answer

Is there any way to exclude branches from showing in GitK?

Sometimes when I use GitK there's a load of commits on branches I'm not concerned with and they tend get in the way of what I'm doing. It would be nice to be able to specify which branches I want, or specify which branches I want to exclude. Is this…
NotACleverMan
  • 12,107
  • 12
  • 47
  • 67
9
votes
1 answer

Why is gitk not showing my local branch?

I'm learning about git and is using gitk to visualize my history and branches. I tried gitk on a locally initialized repo, and it is able to show both branches that I made properly. However, when I tried to launch gitk to visualize a repo obtained…
I'm a frog dragon
  • 7,865
  • 7
  • 46
  • 49
9
votes
1 answer

gitk: How to tell it "stop, don't load more commits"?

Just gitk or gitk --all can try to fill up all memory on big repository. I know than I can gitk -n 1000 to limit it. Also I can killall git (or even Alt+SysRq+F if haven't stopped it in time) to stop it in middle of thrashing. Is there more proper…
Vi.
  • 37,014
  • 18
  • 93
  • 148
9
votes
3 answers

Make old git branches invisible without making them unreachable?

Is there a way to make a git branch cease to show up when you type "git branch", but still remain reachable in the history, i.e. via gitk? I have many old branches that I want to get out of my sight, but I see no reason to delete history even of…
Andrew Wagner
  • 22,677
  • 21
  • 86
  • 100
9
votes
3 answers

gitk: weird history tree

I'm porting an svn repo to git (using svn2git from https://www.negativetwenty.net/redmine/projects/show/svn2git) and since svn does not track merges, I need to edit .git/info/grafts manually. For this, I launch gitk, search for the term "Merge" in…
big_gie
  • 2,829
  • 3
  • 31
  • 45
9
votes
1 answer

Gitk can't read treediffs error

I got the following error when launching gitk > View > New View > Select All refs > OK : can't read "treediffs(23eda73bba89ba7de9605f28f124fa7d9d67528f)": no such variable can't read "treediffs(23eda73bba89ba7de9605f28f124fa7d9d67528f)": no such…
konyak
  • 10,818
  • 4
  • 59
  • 65
8
votes
2 answers

Using gitk on msysgit

I'm trying to use the gitk on mysysgit. I'm not using Cygwin or MinGW to run mysysgit, just a straight up DOS command prompt on Windows. The gitk file is in the bin/ folder, but it's not an executable, so when I type gitk I get: 'gitk' is not…
Ben G
  • 26,091
  • 34
  • 103
  • 170
8
votes
3 answers

Gitk don't work because of strange error macOS 11 or later required

When starting gitk command line getting the error. It's strange because I have newest version of Mac OS 11.1 I just upgraded git but it doesn't helped. Any ideas what to do? macOS 11 or later required ! /usr/bin/wish: line 2: 50965 Abort trap: 6 …
8
votes
1 answer

What does this disconnected arrow mean on gitk?

What's the meaning of the blue disconnected arrow? Note, it happened after I added a remote head and did git fetch. ...
ripper234
  • 222,824
  • 274
  • 634
  • 905
8
votes
1 answer

Can I affect the order/column of branches displayed in gitk and Eclipse Egit

When doing gitk --all I get a nice summary of commits/branches/tags across a whole repo. However, the way the branches are displayed is not always consistent, and it is also different to the method Egit uses in Eclipse's History pane. Is there a way…
Peter Boughton
  • 110,170
  • 32
  • 120
  • 176
8
votes
2 answers

Where are tag messages in Sourcetree

Where can I access the corresponding message of git tags in Sourcetree. The context menu of a tag seems not to offer such an option.
wnrph
  • 3,293
  • 4
  • 26
  • 38
1 2
3
13 14