mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
stamp: add warning in documentation about corner case
This commit is contained in:
parent
9ea8f98e5c
commit
a7779a1029
|
|
@ -24,6 +24,9 @@ You can change this behavior by using the \-\-replace flag\.
|
|||
.br
|
||||
With this flag, all the related stamps with the same identifier will be removed first before the new one gets appended\.
|
||||
.
|
||||
.P
|
||||
\fBWARNING!\fR If a commit message without stamp have a line starting with the same identifier, it will be interpreted as a stamp
|
||||
.
|
||||
.SH "OPTIONS"
|
||||
\-r, \-\-replace
|
||||
.
|
||||
|
|
|
|||
|
|
@ -87,6 +87,8 @@ By default all stamps are appended as a new paragraph to the commit message.<br
|
|||
You can change this behavior by using the --replace flag.<br />
|
||||
With this flag, all the related stamps with the same identifier will be removed first before the new one gets appended.</p>
|
||||
|
||||
<p><code>WARNING!</code> If a commit message without stamp have a line starting with the same identifier, it will be interpreted as a stamp</p>
|
||||
|
||||
<h2 id="OPTIONS">OPTIONS</h2>
|
||||
|
||||
<p> -r, --replace</p>
|
||||
|
|
@ -141,7 +143,7 @@ $ git stamp Issue FOO-456 \#close
|
|||
|
||||
<h2 id="AUTHOR">AUTHOR</h2>
|
||||
|
||||
<p>Written by Damien Tardy-Panis <<a href="mailto:damien@tardypad.me" data-bare-link="true">damien@tardypad.me</a>></p>
|
||||
<p>Written by Damien Tardy-Panis <<a href="mailto:damien@tardypad.me" data-bare-link="true">damien@tardypad.me</a>></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@ By default all stamps are appended as a new paragraph to the commit message.
|
|||
You can change this behavior by using the --replace flag.
|
||||
With this flag, all the related stamps with the same identifier will be removed first before the new one gets appended.
|
||||
|
||||
`WARNING!` If a commit message without stamp have a line starting with the same identifier, it will be interpreted as a stamp
|
||||
|
||||
## OPTIONS
|
||||
|
||||
-r, --replace
|
||||
|
|
|
|||
Loading…
Reference in a new issue