Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show 'git blame' in Visual Studio 2013?

In Visual Studio 2013 update 2 with Git integration, is there a way to show in the editor who last modified a line? (like the git blame command?)

like image 913
Frank Kusters Avatar asked Aug 01 '14 08:08

Frank Kusters


People also ask

What is view git blame?

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.

Where is Gitignore file in Visual Studio?

In Visual Studio 2015 Team Explorer > Local Git Repositories > Project > Settings > Git > Repository Settings > Ignore & Attribute Files. You can add . gitignore file with items should be ignored in visual studio solutions by default.

How do I open Git Changes window in Visual Studio?

Start Visual Studio. Go to top menu "Extensions | Manage Extensions", search the online gallery for Git Tools and install. Select top menu "Extensions | Git Tools | Git Changes" to bring out the Git Changes Window.


1 Answers

TFS (and so does VS) uses the Term "Annotate" instead of "Blame", just right click on the editor when you have a file open, then click Source Control, Annotate.

I'm sure there are other ways to do it, either from the menu, toolbars, solution explorer, etc.

like image 130
DaveShaw Avatar answered Sep 18 '22 19:09

DaveShaw