View the Git Blame information for your current line.
Also links the commit to be opened and viewed in your browser.
- Open Visual Studio Code
- Go to extensions
- Search for
git info
- Click install on Git info
Setting | Type | Default Value |
---|---|---|
Description | ||
gitInfo.setCommitURL |
String |
"" |
| ||
gitInfo.copyLinkInsteadOfOpening |
Boolean |
false |
| ||
gitInfo.statusBarMessageDisplayLeft |
Boolean |
true |
| ||
gitInfo.statusBarPositionPriority |
Integer |
0 |
|
||
gitInfo.infoMessageFormat |
String |
Summary: ${gitInfo.summary} |
|
||
gitInfo.infoMessageCopied |
String |
Link copied to clipboard! |
|
||
gitInfo.statusBarMessageFormat |
String |
$(git-commit)From: ${gitInfo.committer} (${gitInfo.timeAgo}) |
|
||
gitInfo.statusBarMessageNoFileOpened |
String |
$(git-commit)Git info |
| ||
gitInfo.statusBarMessageNoRepo |
String |
$(git-commit)Git info |
|
||
gitInfo.statusBarMessageIgnoredFile |
String |
$(git-commit)File is ignored |
|
||
gitInfo.statusBarMessageNoCommit |
String |
$(git-commit)Not Committed Yet |
|
||
gitInfo.statusBarMessageNoInfoFound |
String |
$(git-commit)No info found |
|
||
gitInfo.statusBarMessageLoading |
String |
$(sync~spin)Loading... |
|
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 |
- Logo by Jason Long.
- Influenced and inspired by Wade Anderson.