summaryrefslogtreecommitdiff
path: root/Documentation/gitcli.txt
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2021-02-14 11:10:57 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-17 09:54:33 -0800
commitb081547ec1de57162f2c1c7748aa09c861413d34 (patch)
treed6fe0220ce4c6b34e6550650891c9b412890fdce /Documentation/gitcli.txt
parentpretty: add %(describe) (diff)
downloadtgif-b081547ec1de57162f2c1c7748aa09c861413d34.tar.xz
pretty: add merge and exclude options to %(describe)
Allow restricting the tags used by the placeholder %(describe) with the options match and exclude. E.g. the following command describes the current commit using official version tags, without those for release candidates: $ git log -1 --format='%(describe:match=v[0-9]*,exclude=*rc*)' Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitcli.txt')
0 files changed, 0 insertions, 0 deletions