Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Git Blame
Git Blame

Git Blame

Jotting

|
17,815 installs
| (25) | Free
Displays the most recently committed information for the row (Tip: Avatar cache is stored in %USERPROFILE%\AppData\Local\Microsoft\VisualStudio\<version>\AvatarCache)
Download

Displays the most recently committed information for the row

Tip:
Avatar cache is stored in %USERPROFILE%\AppData\Local\Microsoft\VisualStudio\Version\AvatarCache

Old Veriosn

If you are using Visual Studio 2022, refer to the following for adjusting the settings:

settings.png

All settings:

{
    "gitBlame.general.useLocalGit": {
      "type": "boolean",
      "default": true,
      "title": "Use local git",
      "description": "Prefer globally installed Git"
    },
    "gitBlame.general.ignoreTrimWhiteSpace": {
      "type": "boolean",
      "default": true,
      "title": "Ignore Whitespace Trimming",
      "description": "When enabled, blame uses the -w option (effective only with local Git)."
    },
    "gitBlame.general.hideUncommitInformation": {
      "type": "boolean",
      "default": false,
      "title": "Hide \"Uncommitted\" Information",
      "description": "When the current line is uncommitted, hide the blame content."
    },
    "gitBlame.general.customAvatarSource": {
      "type": "string",
      "default": "",
      "title": "Custom Avatar Source",
      "description": "Custom avatar source must support Gravatar-like conventions (.jpg format, size parameters, 404 response handling). Only enter a domain name (e.g., gravatar.com) and HTTPS support is required."
    },
    "gitBlame.inlineBlame.enable": {
      "type": "boolean",
      "default": true,
      "title": "Enable",
      "description": "When selected, it floats at the end of the row,and the mouse overlay is displayed in detail"
    },
    "gitBlame.inlineBlame.animateEnable": {
      "type": "boolean",
      "default": true,
      "title": "Animation enable",
      "description": "Enable animation effects when text is displayed."
    },
    "gitBlame.inlineBlame.triggerMode": {
      "enum": [
        "MouseHover",
        "Ctrl"
      ],
      "enumItemLabels": [
        "Mouse hover",
        "Mouse hover while holding Ctrl"
      ],
      "type": "string",
      "default": "MouseHover",
      "title": "Trigger Mode",
      "description": "Trigger mode for displaying detailed information."
    },
    "gitBlame.inlineBlame.textOpacity": {
      "type": "number",
      "minimum": 0.0,
      "maximum": 1.0,
      "default": 0.8,
      "title": "Text opacity",
      "description": "The default is 0.8, which can be set between 0 and 1."
    },
    "gitBlame.inlineBlame.textColor": {
      "type": "string",
      "default": "",
      "title": "Custom Text Color",
      "description": "If left blank, it will automatically adapt based on the theme; supports formats #000000 or #00000000"
    },
    "gitBlame.inlineBlame.format": {
      "type": "string",
      "default": "{Author},{Age}・{Message|30}",
      "title": "Format",
      "description": "{Author}=author,{Email}=email,{Message}=message,{Id}=id,{Date}=date,{Age}=Last N days.default:{Author},{Age}・{Message|30}"
    },
    "gitBlame.inlineBlame.showAvatarInLine": {
      "type": "boolean",
      "default": true,
      "title": "Show avatar",
      "description": "Avatars are images sourced from Gravatar, GitHub, Cravatar, and Weavatar based on the email address."
    },
    "gitBlame.inlineBlame.avatarOpacity": {
      "type": "number",
      "minimum": 0.0,
      "maximum": 1.0,
      "default": 0.8,
      "title": "Avatar Opacity",
      "description": "The default is 0.8, which can be set between 0 and 1."
    },
    "gitBlame.marginBlame.enable": {
      "type": "boolean",
      "default": true,
      "title": "Enable",
      "description": "When selected, appears to the right of the bottom row margin, and the mouse overlay is displayed in detail."
    },
    "gitBlame.marginBlame.format": {
      "type": "string",
      "default": "{Author} ({Age})",
      "title": "Format",
      "description": "{Author}=author,{Email}=email,{Message}=message,{Id}=id,{Date}=date,{Age}=Last N days.default:{Author} ({Age})"
    },
    "gitBlame.gitHub.personalAccessToken": {
      "type": "string",
      "default": "",
      "title": "Personal access token",
      "description": "Note: A GitHub fine‑grained personal access token is required. Open‑source projects can be accessed without a token, with the only difference being the API rate limit (10 requests per minute without a token). For details, refer to the official documentation."
    }
  }

/* Visual Studio Settings File */

{
   "gitBlame.general.customAvatarSource": "weavatar.com",
   "gitBlame.marginBlame.format": "{Age}・{Message|30}",
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft