Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there git blame gui similar to bzr qannotate?

Tags:

As a former bzr user and novice to git I'm trying to find good GUI tool for git blame similar to bzr qannotate. The latter has 2 major views:

  1. file content viewer with short annotate information (who, in which revision changed the line) + coloring of background based on committer id and age of the change.
  2. file log viewer: when I click on the line in file content I can see the revision when that line was changed and all log information about it.

Screenshot: enter image description here

I see XCode IDE has such something like that built-in, although it's inside editor window and therefore is not very handy.

So far I've tried GitX 0.7.1, and GitHub for Mac - they both don't have "blame" at all.

I've just checked SourceTree for Mac, and while it has blame support, but it's rather rudimental and shows me almost the same as command-line git blame, although I can double click the line to see corresponding revision and changes in another window. That's still is not as good as bzr qannotate.

Are there another GUI tools I can use?

like image 566
bialix Avatar asked Nov 21 '12 09:11

bialix


People also ask

Is git blame useful?

Despite its negative-sounding name, git blame is actually pretty innocuous; its primary function is to point out who changed which lines in a file, and why. It can be a useful tool to identify changes in your code. Basically, git-blame is used to show what revision and author last modified each line of a file.

What is blame view in git?

The git blame command is used to examine the contents of a file line by line and see when each line was last modified and who the author of the modifications was.

Why is it called blame git?

If you want to know who last changed a particular chunk of code, you use Git to run a special command. That command is called blame. In other words, you don't ask who the author is, you ask who's to blame for a particular contribution.

What is raw and blame in git?

The Raw, Blame, and History buttons appear when viewing a single file of a repository. For example, let's visit the README.md file by clicking on it: The Raw button, like the name suggests, opens the file in a raw form, meaning that any HTML formatting disappears.


2 Answers

tig FTW!

Pressing t you get the tree view. Then, pressing B shows you the git blame of the highlighted file.

like image 96
mgarciaisaia Avatar answered Sep 20 '22 17:09

mgarciaisaia


The easier way could be git gui blame <arguments>. You can use git gui --help for more information about the arguments. Here the official source

like image 45
francas Avatar answered Sep 21 '22 17:09

francas