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:
Screenshot:
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?
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.
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.
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.
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.
tig
FTW!
Pressing t you get the tree view. Then, pressing B shows you the git blame
of the highlighted file.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With