一、背景
我想要针对源码历史中的 commit 信息进行评论,例如写下对应英文的中文意思或者写下其他的笔记。
在 idea 中倒是没有找到这样的按钮,只能在命令行中去进行。
二、git nots
添加 notes
git notes add -m "你的信息" git_hash_id
显示 notes
git show git_hash_id
首页
我想要针对源码历史中的 commit 信息进行评论,例如写下对应英文的中文意思或者写下其他的笔记。
在 idea 中倒是没有找到这样的按钮,只能在命令行中去进行。
添加 notes
git notes add -m "你的信息" git_hash_id
显示 notes
git show git_hash_id