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
4
votes
1 answer

How can I make gitk find string "IgnCase" by default

I often find myself selecting IgnCase in the pull-down on gitk GUI. It'd be much easier for me if gitk's search is case insensitive by default. So, how can I make gitk find string case-insensitive (IgnCase instead of Exact) by default?
Yasushi Shoji
  • 4,028
  • 1
  • 26
  • 47
4
votes
0 answers

How do I show tree of commits touching a particular path _plus_ one more commit?

I want to see how the given commit relates to the history of changes to a file. Attempt 1: gitk --select-commit=4ca5063196489705643b4b308ad9065d80be50e1 -- Makefile The specified commit is not selected and not included at all. Attempt 2: git log…
Vi.
  • 37,014
  • 18
  • 93
  • 148
4
votes
0 answers

How can I hide "fast-forward" commits in gitk?

I have this kind of tree : J |\ | I | H | G | |\ | | F | | E | | D | |/ | C | B |/ A How can I make it look like this (or similar) in gitk ? J |\ | G,H,I | |\ | | D,E,F | |/ | B,C |/ A My history tree become hard to read when a merged…
Dorian Marchal
  • 634
  • 1
  • 9
  • 14
4
votes
3 answers

How do I see a commit's path through git history, or "how it got in the current branch"?

I'm looking in the commit history using gitk and git log and I'm trying to see how a specific commit arrived in a certain branch. I can see the commits in the history, so I know they are there. What I want to understand is how they got merged (they…
Ehryk
  • 1,930
  • 2
  • 27
  • 47
4
votes
2 answers

Is it possible to configure the diff in gitk?

When clicking a file in gitk it is compared to the previous version of this file. It looks like the files are compared with git diff, and it's possible to configure very few parameters (basically the number of lines to view around each diff, "Lines…
Martin G
  • 17,357
  • 9
  • 82
  • 98
4
votes
1 answer

Can Tig color commits of different branches differently?

In tig, I find it often hard to find out which commit belongs to which branch. In gitk, this is much more easier. I think this is because of two things. Firstly, gitk colors the branches differently (I mean the lines between commits) and secondly,…
Rolf
  • 1,129
  • 11
  • 27
4
votes
3 answers

Deleting branches in git causes gitk to go wild

I decided to delete a few branches from a (personal project) repository of mine that were merged into master after confirming on #git that leftover branches aren't really necessary. However, gitk's visualisation of my repository's history as a…
unrelativity
  • 3,670
  • 6
  • 38
  • 63
4
votes
1 answer

How do I remove all my mysterious "index on" and "WIP on" commits?

I was just called upon to fix a bug in my application. I stashed up my current work and checked out my newest version tag. I promptly noticed that was a mistake, as the Git message told me that my commits wouldn't be saved, so I checked out master…
Hubro
  • 56,214
  • 69
  • 228
  • 381
4
votes
3 answers

git diff does not create temp files

I am experiencing something a bit weird when using git. I am using git on my Windows 7 machine. I wanted to review some code changes, so I fired up gitk to check what was in the commit I wanted to review. In my list of changed files i highlight the…
Jay Pete
  • 4,123
  • 4
  • 35
  • 51
4
votes
4 answers

gitk cannot find a GIT repository

When I run gitk, a Tk window pops-up saying that "It cannot find a GIT repository here". What am I missing? These are the steps I followed. Forgive me if I missed something stupid. [~/TEMP]$ ls [~/TEMP]$ git init abc Initialized empty Git repository…
Jatin Ganhotra
  • 6,825
  • 6
  • 48
  • 71
3
votes
1 answer

Customize gitk for each repository

Gitk is a neat tool, but it doesn't show any visual clue as for which repository you are actually in. When I open multiple gitk windows, I always have to stop and think which one goes with each repo. As fas as I know, there is no way to provide…
Mario F
  • 45,569
  • 6
  • 37
  • 38
3
votes
2 answers

How to fix the Gitk error : Expected integer but got ""

How to fix this error, when I want resize gitk inner windows I get this error and nothing is showing. Can I reset Gitk without uninstalling git?
Batz
  • 342
  • 1
  • 5
  • 15
3
votes
2 answers

gitk on bare directory

I used to be able to run gitk on bare directory on remote server. I got a new Win10 machine, installed git from git-scm .com That gave me git and git Bash. Now when I go to the same remote server MINGW64 /t/git/MyProject (BARE:master)$ gitk gitk…
shlasasha
  • 165
  • 1
  • 14
3
votes
0 answers

Gitk Yields Blank Unresponsive Gui on OSX Mojave

I recently upgraded to Mojave and now gitk no longer works. When I try to launch gitk I get a blank, unresponsive Wish gui. I suspect it has to do with Mojave's new security requirements on Apple Events but I didn't receive a prompt to grant…
mathfish
  • 184
  • 1
  • 12
3
votes
1 answer

How to stage and commit from gitk?

How can I stage changes and commit them from the gitk interface? It is said to be a "repository browser". Does it mean, that it is not possible to stage and commit at all?
nagylzs
  • 3,954
  • 6
  • 39
  • 70