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
|
```yaml
|
||||||
git:
|
git:
|
||||||
commitCount: 5
|
commitCount: 5
|
||||||
|
commitFormat: "[forestgreen]%h [grey]%cd [white]%s [grey]%an[white]"
|
||||||
|
dateFormat: "%H:%M %d %b %y"
|
||||||
enabled: true
|
enabled: true
|
||||||
position:
|
position:
|
||||||
top: 0
|
top: 0
|
||||||
@ -72,6 +74,13 @@ git:
|
|||||||
The number of past commits to display. <br />
|
The number of past commits to display. <br />
|
||||||
Values: A positive integer, `0..n`.
|
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 />
|
`enabled` <br />
|
||||||
Determines whether or not this module is executed and if its data displayed onscreen. <br />
|
Determines whether or not this module is executed and if its data displayed onscreen. <br />
|
||||||
Values: `true`, `false`.
|
Values: `true`, `false`.
|
||||||
|
@ -163,6 +163,8 @@ commit, and their status.</p>
|
|||||||
<h2 id="configuration">Configuration</h2>
|
<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">
|
<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>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>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>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">
|
</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 />
|
The number of past commits to display. <br />
|
||||||
Values: A positive integer, <code>0..n</code>.</p>
|
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 />
|
<p><code>enabled</code> <br />
|
||||||
Determines whether or not this module is executed and if its data displayed onscreen. <br />
|
Determines whether or not this module is executed and if its data displayed onscreen. <br />
|
||||||
Values: <code>true</code>, <code>false</code>.</p>
|
Values: <code>true</code>, <code>false</code>.</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user