テンプレート:GitCommit

提供: wiki
移動先: 案内検索

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 rBa9e0f3364fd93c51bd004d46b7b859d55b20a7b8 in blender:

{{GitCommit|rBa9e0f3364fd93c51bd004d46b7b859d55b20a7b8}}