Skip to content

Instantly share code, notes, and snippets.

@chrismo
Created November 1, 2012 17:09
Show Gist options
  • Save chrismo/3995092 to your computer and use it in GitHub Desktop.
Save chrismo/3995092 to your computer and use it in GitHub Desktop.
How to spelunk code in RubyMine with git
Open git history for the file.
In annotate view, find the line of code and the sha.
Select history view and start typing the sha until it's selected.
Type 'esc', then down arrow.
Right-click and select "Annotate" - this will open the prior rev in the editor in annotate view.
Find that line of code and repeat.
@chrismo
Copy link
Author

chrismo commented Nov 1, 2012

That sucks actually, compared to things like git log -Smy_string in/this/file.txt ... or git bisect run if in need of some smarts to do the checking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment