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.
- 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".
- View Git History (git log) (git.viewHistory)
- View File History (git.viewFileHistory)
- View Line History (git.viewLineHistory)
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.
- Search git history
Big thanks to Mike Surcouf & ole
- Viewing the history by branch #140
- Cherry picking commits #141
- Handle branch names containing periods #133
- 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)