「テンプレート:GitCommit/doc」の版間の差分
(Updated doc to reflect new behavior of the template!) |
細 (1版 をインポートしました) |
(相違点なし)
|
2018年6月29日 (金) 06:05時点における版
Template to link to commits in GIT, useful for writing release notes.
Just use the rXXX12345678
format as in phabricator:
Commit rBa9e0f3364fd9 in blender:
{{GitCommit|rBa9e0f3364fd9}}
Commit rBA8078c1a024dc in addons:
{{GitCommit|rBA8078c1a024dc}}
This also works for svn commits:
Commit rBM244 in blender manual:
{{GitCommit|rBM244}}
Note you should usually allways only use the twelve first digits of the GIT commit’s SHA, but you can also use the full signature of a commit:
Commit rBa9e0f3364fd93 in blender:
{{GitCommit|rBa9e0f3364fd93c51bd004d46b7b859d55b20a7b8}}