Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Git infoNew to Visual Studio Code? Get it now.
Git info

Git info

Sokkero

|
3,590 installs
| (1) | Free
A VSCode extension for getting information from git about commits and changes
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Info

View the Git Blame information for your current line.
Also links the commit to be opened and viewed in your browser.

Install

  1. Open Visual Studio Code
  2. Go to extensions
  3. Search for git info
  4. Click install on Git info

Configuration

Setting Type Default Value
Description
gitInfo.setCommitURL String ""
  • Allows the user to set the commit URL that is opened. If this is left empty the extension will try to build the URL based on all of the information available
gitInfo.copyLinkInsteadOfOpening Boolean false
  • Toggles wether the link to the commit page should be copied to the clipboard instead of opened instantly
gitInfo.statusBarMessageDisplayLeft Boolean true
  • Should the info bar be displayed on the left or right
gitInfo.statusBarPositionPriority Integer 0
  • Priority of the info bars position. Higher values put it further to the left/right.
gitInfo.infoMessageFormat String Summary: ${gitInfo.summary}
  • The message that is displayed in the info pop-up
gitInfo.infoMessageCopied String Link copied to clipboard!
  • The message that is displayed when the link to the commit was copied
gitInfo.statusBarMessageFormat String $(git-commit)From: ${gitInfo.committer} (${gitInfo.timeAgo})
  • The message that is displayed in the info bar
  • gitInfo.statusBarMessageNoFileOpened String $(git-commit)Git info
  • The message that is displayed in the info bar when no file is opened
  • gitInfo.statusBarMessageNoRepo String $(git-commit)Git info
  • The messaage that is displayed in the info bar when the opened file is not part of any repo
  • gitInfo.statusBarMessageIgnoredFile String $(git-commit)File is ignored
  • The message that is displayed in the info bar when the opened file is being ignored by the .gitignore
  • gitInfo.statusBarMessageNoCommit String $(git-commit)Not Committed Yet
  • The message that is displayed in the info bar when the current line has changes that are not yet committed
  • gitInfo.statusBarMessageNoInfoFound String $(git-commit)No info found
  • The message that is displayed in the info bar when the extension couldnt find any git entries for the selected line
  • gitInfo.statusBarMessageLoading String $(sync~spin)Loading...
  • The message that is displayed in the info bar when the extension is loading
  • Message Tokens (available globally for all settings)

    Token Description
    ${gitInfo.hash} 40-bit hash unique to the commit
    ${gitInfo.author} Name of the Author
    ${gitInfo.committer} Name of the Committer
    ${gitInfo.mail} E-Mail address of the committer
    ${gitInfo.timestamp} Timestamp of when the commit was made
    ${gitInfo.tz} Timezone of the committer
    ${gitInfo.date} Date of the creation of the commit
    ${gitInfo.summary} Summary of the commit
    ${gitInfo.timeAgo} How long ago the commit was made

    Acknowledgements

    • Logo by Jason Long.
    • Influenced and inspired by Wade Anderson.
    • Contact us
    • Jobs
    • Privacy
    • Manage cookies
    • Terms of use
    • Trademarks
    © 2025 Microsoft