Template:Git: Difference between revisions

From QEMU
(Create template for linking to git commits)
 
(More example)
Line 7: Line 7:


<pre>{{git|d967b2f}}</pre>
<pre>{{git|d967b2f}}</pre>
will make
{{git|d967b2f}}


[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

Revision as of 14:44, 21 February 2017

(commit)

Documentation

Template for linking to git commits. This should be used instead of hard-coding the host and path to WebGit to make it easier to change broken links due to of moved hosts and changed paths.

Template for copying

{{git|d967b2f}}

will make

(commit)