← 返回命令列表

Linux command

git-stamp 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Add stamp to commit message

git stamp "[stamp text]"

Stamp with replacement

git stamp --replace "[text]"

说明

git stamp appends a stamp (such as "Reviewed-by" or "Tested-by") to the most recent commit message. Part of git-extras, it is useful for adding metadata to commits without manually amending the entire message.

参数

--replace
Replace existing stamp.

FAQ

What is the git-stamp command used for?

git stamp appends a stamp (such as "Reviewed-by" or "Tested-by") to the most recent commit message. Part of git-extras, it is useful for adding metadata to commits without manually amending the entire message.

How do I run a basic git-stamp example?

Run `git stamp "[stamp text]"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --replace do in git-stamp?

Replace existing stamp.