テンプレート:GitCommit/doc

提供: wiki
< テンプレート:GitCommit
2015年2月14日 (土) 00:32時点におけるwiki>Mont29による版 (Updated doc to reflect new behavior of the template!)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

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}}