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
1
vote
1 answer

What are these light purple labels in gitk in a "clone --mirror" repo from Github

in a "mirror"ed clone of a repo from Github, I find a lot of commits marked with light purple labels. The labels are named "pull/91/merge", "pull/92/head", "pull/89/head", etc. Here is a image. They are not branch or tag labels. "git branch --list"…
John Pankowicz
  • 4,203
  • 2
  • 29
  • 47
1
vote
0 answers

Why does gitk show that I have uncommited changes but doesn't show them in Ubuntu WSL?

When I open gitk from MINGW64 / git bash it says I have uncommited changes in the form of changes to file permissions. But I'm doing all my commit's from Ubuntu 16.04 LTS WSL...so how do I stop that from happening? I really don't care about the…
leeand00
  • 25,510
  • 39
  • 140
  • 297
1
vote
1 answer

Running 'gitk' leads to cryptic error message on MacOS Mojave

I recently started fresh with MacOS Mojave on my MacBook Pro, reinstalling everything from scratch, including the latest git/gitk via homebrew. I can't say for sure, but I believe that today is the first time I've tried to run gitk on this new…
CryptoFool
  • 21,719
  • 5
  • 26
  • 44
1
vote
1 answer

Persisting the font settings for gitk

You may change the font settings of a gitk window by making changes in Edit->Preferences. But these settings are reflected only for that session of gitk. How can I persist the font settings for all further sessions?
Jisha
  • 55
  • 1
  • 7
1
vote
1 answer

Gitk doesn't show full diff

Say I have a repository repo with two folders: foo bar Say I want to see all commits in folder foo. I type gitk -- repo/foo and voilá, there they are. Problem: All commits displayed in the graphical output silently omit any file that resides…
Robert Hönig
  • 645
  • 1
  • 8
  • 19
1
vote
1 answer

Need help Understanding Gitk and Left-Most branch

Let's say I have 2 branches. Master and dev. I run the following: git checkout dev git merge master This occurs when changes on the master branch need to be merged into the dev branch (rare...) However, after doing this (and in other seemingly…
S. Walker
  • 2,129
  • 12
  • 30
1
vote
3 answers

gitk show "future" branches?

If I use gitk to look at a commit object it lists under Branches (in the lower left pane) all the children of this branch to which I can navigate upwards (as long as they are not nameless commits but actually have branch names). Why? IMHO this is…
Alan
  • 291
  • 3
  • 3
1
vote
1 answer

gitk unknown color name "lime"

with git 2.13 gitk fails to start for an unknown color name "lime". Some old fix was to replace "lime" with a string, but there is no such "lime" anywhere in this latest code of git. How would you fix it? gitk --version Error in startup script:…
Marco Savo
  • 141
  • 1
  • 4
1
vote
1 answer

how can i persist gitk font size in mac?

I am using gitk in mac and font size is really small for me. For a session I increase the font size by clicking in gui Preferences >> Fonts >> Changing all font size from 9 to 16 But this change is only valid for that gitk screen. When I open a new…
jayant
  • 366
  • 4
  • 14
1
vote
0 answers

gitk not finding addition of a string

I'm working in an enterprise git repository that was converted from a mercurial repository. Normally, using gitk, I can find out how long ago a particular method was introduced by utilizing the "Find Commit" feature: It seems a very straightforward…
Matt
  • 1,674
  • 2
  • 16
  • 34
1
vote
2 answers

Is there no way to see diff of a merge commit without conflict in gitk

In gitk, the git GUI tool, is there a way to see diff of merge commit. Because it doesn't show me diff of merge commit except the conflicting change which was changed. Or is there anything silly that I'm missing?
IsmailS
  • 10,797
  • 21
  • 82
  • 134
1
vote
1 answer

Git: gitk how to reset to origin/master

I use gitk to browse code. I often right-click on a previous commit and reset master branch to here. Then I compile and test the code. If I close gitk now and restart it, it can no longer see previous commits. Then I have to type in command line git…
McBear Holden
  • 5,741
  • 7
  • 33
  • 55
1
vote
1 answer

gitk label text - can it be displayed?

In git I have added a tag to my repository. In git it shows correctly as 'Release_1_0' but in the gitk UI it shows as 'tag...' Illustration of tag-labeling question Question Can you get the tag to show in gitk as it's title? Specifically can we…
J-Dizzle
  • 4,861
  • 4
  • 40
  • 50
1
vote
0 answers

gitk not found on OSX Apple Git-55

I am using git on OSX. git --version returns git version 2.3.2 (Apple Git-55) From Googling, it seems this version should include gitk. But when I run the command, I get command not found. gitk bash: gitk: command not found Why is this, and how…
boltup_im_coding
  • 6,345
  • 6
  • 40
  • 52
1
vote
1 answer

Pass parameter to external diff tool of gitk

I tried to set external diff tool for gitk via Edit->Preference->External diff tool, but I cannot specify any extra parameter to the tool, like -d is needed for vimdiff. I tried quote the executable name and parameter separately like "vim.exe" "-d"…
Thomson
  • 20,586
  • 28
  • 90
  • 134