Toggle git-blame annotations for the current file in the gutter of atom editor.
There a few ways to toggle the
Right click the file you want to blame. Select
Toggle Git Blame options from the dropdown.
Show git blame for the currently active editor with the command
ctrl-b. An editor pane is active if the the cursor is blinking on it.
Submodules? No problem, git-blame should take care of that.
Click on the revision hash in the gutter to be taken to the configured repository visual diff. See setting a custom remote repo url section below for support beyond bitbucket and github.
If this option is selected, the
git blame command will be run with
If this option is selected, only the last word of the author's name will be displayed.
This plugin will first check to see if your repo is backed by Github or Bitbucket so nothing is required if your repo is hosted on one of these.
If its not, you can easily set a custom revision URL string like so:
The URL string should contain the following three placeholder variables wrapped in underscore template delimiters like so:
<%- variable %>.
project- Will be replaced with the name of the project in your remote git repository. For this repo it would be
repo- Will be replaced with the name of the repository. For this repo it would be
revision- Will be replaced with the full git revision hash you clicked on.
I'll use github as an example. Its already supported out of the box, but if it wasn't its custom url string would be:
https://github.com/<%- project %>/<%- repo %>/commit/<%- revision %>
So when you clicked on hash revision 12345 in this git-blame repository, you would visit the following url:
pathwatchernode module to latest
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.