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

How to avoid showing parent commits in gitk when filtering by author?

I want to show only my commits in gitk. I try to use the command gitk --author="Eugeniy Maksimov" gitk shows not only my commits, but also theirs parents. Why? How to avoid this?
Eugene Maksimov
  • 1,504
  • 17
  • 36
5
votes
2 answers

Get gitk to show full tag names

Is it possible to get gitk to show the full tag names instead of a shortened version. When I use long names I just see "tag...":
Adi Shavit
  • 16,743
  • 5
  • 67
  • 137
5
votes
1 answer

enabling word-wrap in gitk for commit message display on a Mac

I have searched twice now and explored heavily and I concede. I can't find a working answer, to a simple dang problem! :( Problem gitk comments on my Mac are not word wrapped and overflow off the screen Example Illustration The bottom left window…
J-Dizzle
  • 4,861
  • 4
  • 40
  • 50
5
votes
1 answer

gitk "package require Tk"

On Starting gitk from CLI on ubuntu I m getting this error vihaan@Trojan :~$ gitk application-specific initialization failed: unknown color name "S_base3" Error in startup script: unknown color name "S_base3" (database entry for "-background"…
Vihaan Verma
  • 12,815
  • 19
  • 97
  • 126
5
votes
2 answers

gitk without X11

It has been noted that Tcl/Tk, and in turn gitk now require X11 under Cygwin. Having run it before and after this change it seems like extreme overkill. I use gitk very lightly, mostly sticking to simply command line git. How could I go about using…
Zombo
  • 1
  • 62
  • 391
  • 407
4
votes
2 answers

How to print the output of GitK

I am using git v 1.7.4.msysgit.0 on windows. I want to print the output of gitK(i mean physically on a paper) I cant find a print menu there, google doesn't help here too.
Archan Mishra
  • 887
  • 7
  • 18
4
votes
1 answer

definition of gitk's "Mark Branch Sides" option

In gitk, there is an option in the "Edit View" (F4) window called "Mark branch sides". It seems to correspond to the --left-right option: +set known_view_options { + {perm b . {} {mc "Remember this view"}} + {args t50=…
digitalsky
  • 379
  • 4
  • 14
4
votes
1 answer

Error: fatal loose object ### (stored in .git/objects/.... is corrupt)

I just fired up gitk as usual but this time I received a fatal error message: fatal: loose object 58008283f6ad152ac44a1b6da961795ababe5b93 (stored in .git/objects/58/008283f6ad152ac44a1b6da961795ababe5b93) is corrupt fatal: loose object…
WinWin
  • 7,493
  • 10
  • 44
  • 53
4
votes
1 answer

How to compare newest commit to oldest commit in gitk

When I do gitk --follow , the left pane lists all the commits of the given filename. If I click one of those commits, the bottom-left pane (just below the commit/branch/tag list), shows a diff between this selected commit and the previous…
WinWin
  • 7,493
  • 10
  • 44
  • 53
4
votes
2 answers

Any way to control the default view of gitk

I use gitk from Git for Windows. By default it seems to open with a view that only displays the currently checked out branch. I have a different saved view which is the one that I use 90% of the time. I normally open gitk from the cmd line (by…
Brondahl
  • 7,402
  • 5
  • 45
  • 74
4
votes
0 answers

How to show emoji in gitk

I'm beginner for git-cz.It makes commit easier to read with emoji.But the emoji was replaced in gitk. Just like follow picture. How to make emoji work?? It's work fine for git log.
李晓爽
  • 61
  • 9
4
votes
1 answer

gitk fails to launch on macOS 10.14 (Mojave)

I get the following error when I try to run gitk on macOS Mojave (10.14.4): Error in startup script: file:///System/Library/ScriptingDefinitions/CocoaStandard.sdef:2: I/O warning : failed to load external entity…
Paul R
  • 208,748
  • 37
  • 389
  • 560
4
votes
1 answer

Why does gitk have no copy/paste menu item under Edit?

It has been shown in this forum that gitk works with the native OS keys to copy/paste for example into the SHA1 ID line: see unable to copy and paste in gitk - macosx and How to copy text in gitk My question is why doesn't this functionality…
Traveler
  • 1,048
  • 14
  • 27
4
votes
1 answer

unable to copy and paste in gitk - macosx

does anyone know how to copy and paste in gitk with macosx? Its the lower left pane i am unable to select,highlight and copy the text/changes there? Thanks.
David
  • 4,235
  • 12
  • 44
  • 52
4
votes
2 answers

Tell gitk to ignore all branches that match pattern

Suppose I have some branches with names beginning with inactive-. As their names suggest, these branches are inactive; I'm keeping around for archival purposes. I want to tell gitk to ignore those branches, even if I also pass it the --all flag. …
kjo
  • 33,683
  • 52
  • 148
  • 265