Search code examples
gitvisual-studio-codeidegit-history-graph

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


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


Solution

  • I recommend you this extension, Git History by Don Jayamanne

    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).

    repo: https://github.com/DonJayamanne/gitHistoryVSCode