How can I view the Git history in Visual Studio Code?

rlesias picture rlesias · Jun 18, 2016 · Viewed 127.3k times · Source

I can execute various Git commands from Visual Studio Code, however I couldn't find a way to visualize the history.

Answer

ThormaWeb.com picture ThormaWeb.com · Jun 18, 2016

I recommend you this repository, https://github.com/DonJayamanne/gitHistoryVSCode

Git History Git History

It does exactly what you need and has these features:

  • View the details of a commit, such as author name, email, date, committer name, email, date and comments.
  • View a previous copy of the file or compare it against the local workspace version or a previous version.
  • View the changes to the active line in the editor (Git Blame).
  • Configure the information displayed in the list
  • Use keyboard shortcuts to view history of a file or line
  • View the Git log (along with details of a commit, such as author name, email, comments and file changes).