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:
parent
32ed793599
commit
dcbc541221
@ -54,6 +54,8 @@ None.
|
||||
```yaml
|
||||
git:
|
||||
commitCount: 5
|
||||
commitFormat: "[forestgreen]%h [grey]%cd [white]%s [grey]%an[white]"
|
||||
dateFormat: "%H:%M %d %b %y"
|
||||
enabled: true
|
||||
position:
|
||||
top: 0
|
||||
@ -72,6 +74,13 @@ git:
|
||||
The number of past commits to display. <br />
|
||||
Values: A positive integer, `0..n`.
|
||||
|
||||
`commitFormat` <br />
|
||||
_Optional_ The string format for the commit message. <br />
|
||||
|
||||
`dateFormat` <br />
|
||||
_Optional_ The string format for the date/time in the commit message.
|
||||
<br />
|
||||
|
||||
`enabled` <br />
|
||||
Determines whether or not this module is executed and if its data displayed onscreen. <br />
|
||||
Values: `true`, `false`.
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user