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

how to remove the git unconnected versions

I ended up having a repository like this after reseting some branches. Now I am not sure how to clean up the repository. Can anyone explain how the hanging blue and brown line can be removed?
Hound
  • 837
  • 17
  • 31
0
votes
1 answer

Can't use gitk when sshing from a specific machine: unkown color 'lime'

When I ssh into a server foo from machine1, I'm able to use gitk fine. Now I login (ssh -X each time) from machine2 (older version of Suse), and I get the error "unkown color name 'lime'" Can someone tell me what's going on here, and how to fix…
Spacemoose
  • 3,856
  • 1
  • 27
  • 48
0
votes
1 answer

.gitattributes file - prevent file from being merged but still view diff

I'm dealing with some really awkward XML files that I want to prevent being merged. I know that I can do this using the -diff marker in .gitattributes. However I would still like to be able to read the diff in gitk if possible. Is there an easy way…
Neil P
  • 2,920
  • 5
  • 33
  • 64
0
votes
1 answer

Gitk does not show HEAD of master?

This is on Ubuntu 14.04, git version 1.9.1 (same for gitk). I'm doing this: $ cd /tmp $ git clone https://github.com/underdoeg/ofxLibRocket.git ofxLibRocket-git Cloning into 'ofxLibRocket-git'... remote: Counting objects: 1013, done. remote: Total…
sdaau
  • 36,975
  • 46
  • 198
  • 278
0
votes
1 answer

GIT tree is messed up

My Git tree looks like this. All I did was create two branches A and B and then merged them in one after the other after rebasing with master. then I deleted those branches from remote as well as local. But even then my tree looks like this. What…
user20358
  • 14,182
  • 36
  • 114
  • 186
0
votes
2 answers

Is it possible to run gitk in cloud9

I get the following when trying to run gitk in cloud9-ide application-specific initialization failed: no display name and no $DISPLAY environment variable Error in startup script: no display name and no $DISPLAY environment variable while…
neilakapete
  • 1,098
  • 1
  • 7
  • 11
0
votes
0 answers

Gitk doesn't show commit tree

When I use gitk (without any further arguments) it doesn't show any commit tree, see image. Is there a way to show the commit tree? I am using Debian jessie; git and tk are the only listed dependencies, git version is 2.1.4.
luvemil
  • 1
  • 2
0
votes
1 answer

How does gitk view associate to the local and remote repository paths?

I am trying to find source code in our project and I have access to the view with gitk but I don't have a local copy. Now I want to get a local copy. How do I interpret gitk presentation to extract the code into my local repository?
grmn.bob
  • 1,453
  • 2
  • 10
  • 11
0
votes
3 answers

How to examine Git commits from another branch?

I want to view one particullar commit from another branch without switching to it. With gitk I cannot see the tree of the other branch. I don't want to push to Gerrit for instance and examine it there. The problem is that the only way to see it by…
kofucii
  • 7,393
  • 12
  • 51
  • 79
0
votes
1 answer

Can I change which patch gitk is showing?

Lets say I have a local history like this ----A master \ C------D feature Where I ran the following commands to create commit B: git checkout master git merge feature --no-ff -m "Added new…
g19fanatic
  • 10,567
  • 6
  • 33
  • 63
0
votes
1 answer

Why is committing code so much faster than running diff?

I like to check my commits before I push them upstream, so I always run a gitk (I like a little visual) before committing. I've noticed, though, that it's much quicker to commit the code first and then run gitk. Slower: [with uncommitted…
Ben Jacobs
  • 2,526
  • 4
  • 24
  • 34
0
votes
3 answers

Starting gitk on OS X displays a GreaseKit error

When I load gitk (git version 1.6.5.1) on OS X (SL) I recieve an error/warning about GreaseKit: Error loading /Library/Application Support/SIMBL/Plugins/GreaseKit.bundle/Contents/MacOS/GreaseKit: dlopen(/Library/Application…
0
votes
2 answers

gitk: What is the difference between "adding/removing string" and "changing lines matching"?

In gitk, when searching the commits, there are two options which sound like the same to me - "adding/removing string" and "changing lines matching". I assume there is still some difference between them?
sashoalm
  • 75,001
  • 122
  • 434
  • 781
0
votes
1 answer

Merging a branch into an intermediate commit in GIT

Say you have a separate branch which keeps getting new commits for tracking a database dump, and that it's a branch from the first commit of master. I know I can merge into HEAD of master, the usual procedure. Instead, I wanted to merge the branch…
Niloct
  • 9,491
  • 3
  • 44
  • 57
0
votes
2 answers

Adding a custom command to gitk's commit right-click menu

How do I add a custom command to gitk's menu shown when right-clicking a commit? The command I want to add specifically is git revert, but I'm hoping for a generic solution.
Cactus
  • 27,075
  • 9
  • 69
  • 149
1 2 3
13
14