森 • 时光机

Git 创建空白提交

执行 git commit 命令时,带上 --allow-empty 选项就可以进行空提交。

git commit --allow-empty -m "Empty Commit"

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »