qingchuan18 downloadsShow Git blame (time / author / message) at the end of the current line. 在当前光标所在行的行尾显示该行 Git 归属:提交人、提交时间、提交消息,格式可配置.
GitLine is an Obsidian desktop plugin that shows Git blame information at the end of the current cursor line. Each line displays the committer, the commit time, and the commit message, using a fully configurable format.

{date}, {time}, {author}, {message} and {hash} placeholders.git blame -w can be enabled to ignore whitespace-only changes.git calls; entries are invalidated automatically when a file is saved.PATH (git --version must succeed).gitline plugin folder into <your vault>/.obsidian/plugins/gitline/.Once the plugin is published, it can also be installed directly from the community plugin list.
Open a note that lives in a Git repository and move the cursor. The blame information appears at the end of the current line.
| Setting | Description | Default |
|---|---|---|
| Enable | Master switch for the line-end blame display. | On |
| Display format | Template with placeholders{date} {time} {author} {message} {hash}. |
{author} {time} {message} |
| Time style | Relative (e.g. "3 days ago") or Absolute (accurate to the minute). |
Absolute |
| Absolute time format | Moment format string. | YYYY-MM-DD HH:mm |
| Uncommitted lines | Show a marker on uncommitted lines. | On |
| Ignore whitespace | Map togit blame -w. |
Off |
| Status bar | Show the current line's author in the status bar. | On |
| Cache size | Maximum number of files kept in the LRU cache. | 100 |
npm install # install dependencies
npm run dev # watch and build main.js
npm run build # type-check and build for production