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
0 answers

Working with Git with "forking workflow" and repo overview

Given structure as in forking workflow (sorry - cannot post image), let's enumerate them for clarity as: V, B, G (Violet, Blue, Green), and L, R (Local, Remote). Analogously, D for developer. Green developer (GD) has cloned remote blue repository…
JustMe
  • 710
  • 4
  • 16
1
vote
1 answer

gitk gives "can't read "git_version": no such variable" and won't run

Today gitk stopped working. When I try to run it (with or without --all), it says this: Error in startup script can't read "git_version": no such variable while executing "package vcompare $git_version "1.6.6.2"" invoked from within "if…
Ryan Lundy
  • 204,559
  • 37
  • 180
  • 211
1
vote
1 answer

How can I diff against a revision of a single file using only the default Git GUI tools?

I want to view the history of a single file, and then compare a single revision from that history against the current version. On the command line, this is easy: Run: git log -- Locate the version you want to compare, Run: git diff…
Rich
  • 7,348
  • 4
  • 34
  • 54
1
vote
1 answer

detect white space difference between two files

We are using git. I am using eclipse. Some of the committers may not be using eclipse. Here's what is happening. I make a small change in an existing file (properties/xml/java) and save it and commit it. gitk (without ignore space change) and…
Indu Devanath
  • 2,068
  • 1
  • 16
  • 17
1
vote
1 answer

Show only certain tags when using gitk?

Every commit in our repository has a tag associated with it. There are a lot of tags on a branch that have "B7" in the name. Can I run gitk and exclude all of these "B7" tags? Conversely, how can I run gitk and show only the commits that do have…
boltup_im_coding
  • 6,345
  • 6
  • 40
  • 52
1
vote
2 answers

gitk search results

I have tried gitk $(git log -S" extreemly rare " --pretty=format:%h), as this answer suggests but gitk shows all commits in addition to the search results (if I can add anything to a universal set) Initially, this came from this answer, that…
Val
  • 1
  • 8
  • 40
  • 64
1
vote
1 answer

Shortcoming of git log? Why can't I see all the branches?

I have a branch in git and I am on that branch and not on master branch. Using git log --graph I can only see linearly that I am on that branch. But I can not see that I have "splitted" from the master branch. I.e. I see: * b * * * …
Cratylus
  • 52,998
  • 69
  • 209
  • 339
1
vote
1 answer

Display gitk log in reverse order

Is there any way to reverse the order of the visual commit log view that displays in gitk? I'm talking about visual representation that renders in gitk in color as a tree view; i.e., the GUI version of what you get when you run something like this…
Aaron Blenkush
  • 3,034
  • 2
  • 28
  • 54
1
vote
1 answer

gitk lost commits

I was using git gui and my wifi was lost during an operation. Now, when I look at my commit history there are several commits missing, and a gap in the history. Everything before the gap is connected with a red line, everything after by a green…
0
votes
0 answers

Git-Gui / Gitk Broken interface cause crash on kde plasma wayland

Context Few months ago (I don't remember a specific cause), the gitk UI starts showing a strange behavior. 80% of the time, when I start the app in a repository it will display a broken interface. And if I restart gitk few times, the wayland session…
Cacahuet
  • 56
  • 3
0
votes
0 answers

Does `gitk` have an option to automatically refresh its view (every 2 seconds, for example)

gitk supports F5 and Shift+F5 bindings to refresh its view. Is there any way to have it do that automatically? For example, something similar to the refresh-interval option in tig would work for me.
0
votes
1 answer

I can't delete this Git detached head

I have a git repo with two branches: kristof (my name) and master. I messed something up. When running gitk, I can see the following: As you can see, there is a commit (already pushed remotely) at the top, with a tag v0.5.11. It was a mistake, and…
K.Mulier
  • 8,069
  • 15
  • 79
  • 141
0
votes
1 answer

Can't open gitk

I can't open gitk shows some error about no authorization, this happen because once I couldn't open and I try to install from brew now if I type type -a git shows Can someone help me?
Rui Alves
  • 161
  • 1
  • 7
0
votes
1 answer

Tracking everything locally but making only .c and .h changes available on github

I'm going to start tracking a project I'm working on using TortoiseGit. I have a lot of .c and .h files, and then I also have .exe, .obj, .pdb, .ilk, suo, etc. I would like to create a snapshot of everything, all those files. So that I can roll back…
loop
  • 3,460
  • 5
  • 34
  • 57
0
votes
2 answers

Alternate diff tool not firing from gitk for Windows

I have git cli and gitk working fine. I use Beyond Compare as a diff tool, and configured git via the steps I found here. I can see that these commands kicked in here: But when I use the "Diff" options shown in this menu, nothing external fires.…
Jonesome Reinstate Monica
  • 6,618
  • 11
  • 65
  • 112