# Sets LAST_TAG environment variable to last matching tag # Example: - uses: rmeneely/git-last-tag@v1 # Sets LAST_TAG environment variable to last matching tag, excluding the tag v1.2.3 # Example: - uses: rmeneely/git-last-tag@v1 with: tag_pattern: 'rc[0-9]*' ignore_tag_patt...
与sort -V一样,git tag也有类似的选项--sort=version:refname或--sort=v:refname来排序版本号。它是...
get Emits the value of the specified key. If key is present multiple times in the configuration, emits the last value. If --all is specified, emits all values associated with key. Returns error code 1 if key is not present. set Set value for one or more config options. By default...
Sort based on the key given. Prefix-to sort in descending order of the value. You may use the --sort=<key> option multiple times, in which case the last key becomes the primary key. Also supports "version:refname" or "v:refname" (tag names are treated as versions). The "version:re...
pack-bitmap.h pack-bitmap: tag bitmapped packs with their corresponding MIDX Aug 28, 2024 pack-check.c global: adapt callers to use generic hash context helpers Feb 1, 2025 pack-mtimes.c object-store-ll.h: split this header out of object-store.h Jun 22, 2023 ...
git-mktag[1] Creates a tag object with extra validation git-mktree[1] Build a tree-object from ls-tree formatted text git-multi-pack-index[1] Write and verify multi-pack-indexes git-pack-objects[1] Create a packed archive of objects ...
+ %(decorate:prefix=,suffix=,tag=,separator= ) %(describe[:<options>]) human-readable name, like git-describe[1]; empty string for undescribable commits. The describe string may be followed by a colon and zero or more comma-separated options. Descriptions can be inconsistent when tags ...
%s - %ad' --date=short # 日期YYYY-MM-DD显示 git log --pretty=oneline --graph --decorate --all # 展示简化的 commit 历史 git log <last tag> HEAD --pretty=format:%s # 只显示commit git config --global format.pretty '%h : %s - %ad' --date=short #日期YYYY-MM-DD显示 写入全局配...
Sort based on the key given. Prefix-to sort in descending order of the value. You may use the --sort=<key> option multiple times, in which case the last key becomes the primary key. Also supports "version:refname" or "v:refname" (tag names are treated as versions). The "version:re...
1、敲命令git tag name就可以打一个新标签:git tag v1.0 2、git tag查看所有标签 默认标签是打在最新提交的commit上的。有时候,如果忘了打标签,比如,现在已经是周五了,但应该在周一打的标签没有打,怎么办? 方法是找到历史提交的commit id,然后打上就可以了: ...