Skip to content

Commit 4a53c9b

Browse files
Fix typo in bash helper example
1 parent c48ff91 commit 4a53c9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

external/book/content/book/en/v2/Git-Tools-Credential-Storage.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ <h3 id="_under_the_hood">Under the Hood</h3>
170170
<td class="tableblock halign-left valign-top"><p class="tableblock">Runs <code>/absolute/path/foo -xyz</code></p></td>
171171
</tr>
172172
<tr>
173-
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>!f() { echo "password=s3cre7"; }; f</code></p></td>
173+
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>! if() { echo "password=s3cre7"; };</code></p></td>
174174
<td class="tableblock halign-left valign-top"><p class="tableblock">Code after <code>!</code> evaluated in shell</p></td>
175175
</tr>
176176
</tbody>
@@ -355,4 +355,4 @@ <h3 id="_a_custom_credential_cache">A Custom Credential Cache</h3>
355355
<p>As you can see, extending this system is pretty straightforward, and can solve some common problems for you and your team.</p>
356356
</div>
357357
</div>
358-
<div id="nav"><a href="{{< previous-section >}}">prev</a> | <a href="{{< next-section >}}">next</a></div>
358+
<div id="nav"><a href="{{< previous-section >}}">prev</a> | <a href="{{< next-section >}}">next</a></div>

0 commit comments

Comments
 (0)