mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Add basic documentation for Git commit message format configuration
This commit is contained in:
@@ -163,6 +163,8 @@ commit, and their status.</p>
|
||||
<h2 id="configuration">Configuration</h2>
|
||||
<div class="highlight"><pre class="chroma"><code class="language-yaml" data-lang="yaml">git<span class="p">:</span><span class="w">
|
||||
</span><span class="w"> </span>commitCount<span class="p">:</span><span class="w"> </span><span class="m">5</span><span class="w">
|
||||
</span><span class="w"> </span>commitFormat<span class="p">:</span><span class="w"> </span><span class="s2">"[forestgreen]%h [grey]%cd [white]%s [grey]%an[white]"</span><span class="w">
|
||||
</span><span class="w"> </span>dateFormat<span class="p">:</span><span class="w"> </span><span class="s2">"%H:%M %d %b %y"</span><span class="w">
|
||||
</span><span class="w"> </span>enabled<span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
||||
</span><span class="w"> </span>position<span class="p">:</span><span class="w">
|
||||
</span><span class="w"> </span>top<span class="p">:</span><span class="w"> </span><span class="m">0</span><span class="w">
|
||||
@@ -179,6 +181,13 @@ commit, and their status.</p>
|
||||
The number of past commits to display. <br />
|
||||
Values: A positive integer, <code>0..n</code>.</p>
|
||||
|
||||
<p><code>commitFormat</code> <br />
|
||||
<em>Optional</em> The string format for the commit message. <br /></p>
|
||||
|
||||
<p><code>dateFormat</code> <br />
|
||||
<em>Optional</em> The string format for the date/time in the commit message.
|
||||
<br /></p>
|
||||
|
||||
<p><code>enabled</code> <br />
|
||||
Determines whether or not this module is executed and if its data displayed onscreen. <br />
|
||||
Values: <code>true</code>, <code>false</code>.</p>
|
||||
|
||||
Reference in New Issue
Block a user