Skip to content

ajaygm/gitHistoryVSCode

 
 

Repository files navigation

Git History (including git log)

View git log along with the graph and details.
View the history of a file (Git log) or the history of a line in a file (Git Blame). View a previous copy of the file. Compare a previous version with the version in the workspace or another. View commit log details for a selected commit.

Features

  • View Git History with graph and details (latest feature)
  • 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

Open the file to view the history, and then Press F1 and select/type "Git: View History (git log)", "Git: View File History" or "Git: View Line History".

Available Commands

  • View Git History (git log) (git.viewHistory)
  • View File History (git.viewFileHistory)
  • View Line History (git.viewLineHistory)

Keyboard Shortcuts

You can add keyboard short cuts for the above commands by following the directions on the website customization documentation.

NOTE: The file for which the history is to be viewed, must already be opened.

Image of Git Log

Image of File History

Image of another instance of File History

Image of Line History

Roadmap

  • Search git history

Big thanks to Mike Surcouf & ole

Version 0.2.2

  • Viewing the history by branch #140
  • Cherry picking commits #141
  • Handle branch names containing periods #133

Version 0.2.1

  • display ref tags in history when using "git log"
  • fixed visual feedback when SHA is copied in "git log"
  • Allow scenario where git repo root is not the vscode workspace root #112
  • fix error when git config log.abbrevcommit=true #132
  • added a maximize/restore button to the details-view [#118](added a maximize/restore button to the details-view)

Source

GitHub

License

MIT

About

Git History for Visual Studio Code

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 82.5%
  • CSS 17.5%