Git/log: Difference between revisions
No edit summary |
add categories |
||
| Line 278: | Line 278: | ||
You also get '''<tt>tformat</tt>''' behavior if you do not specify any 'format' word, but use '%-encoded' formatting strings. Thus, the following is equivalent to the previous example:<br> | You also get '''<tt>tformat</tt>''' behavior if you do not specify any 'format' word, but use '%-encoded' formatting strings. Thus, the following is equivalent to the previous example:<br> | ||
<code>git log -3 --pretty="* %h (%as) %(decorate:prefix=,suffix=,tag=v,separator= ) - %an: %s %b" 39.5.0...HEAD</code> | <code>git log -3 --pretty="* %h (%as) %(decorate:prefix=,suffix=,tag=v,separator= ) - %an: %s %b" 39.5.0...HEAD</code> | ||
[[Category:Best Practices]] | |||
[[Category:Release Engineering]] | |||
[[Category:GitOps]] | |||
[[Category:DevOps]] | |||