Skip to content

Commit

Permalink
Update "--allow-empty"
Browse files Browse the repository at this point in the history
  • Loading branch information
OneSizeFitsQuorum authored Oct 18, 2021
1 parent 193c5a0 commit bf9bbc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ git commit --amend
// 在不增加一个新 commit 的情况下将新修改的代码追加到前一次的 commit 中,不需要再修改 message 信息
git commit --amend --no-edit
// 提交一次没有任何改动的空提交,常用于触发远程 ci
git commit ----allow-empty -m "message"
git commit --allow-empty -m "message"
// 修改 commit 时间
git commit -m "message" --date=" Wed May 27 00:35:36 2020 +0800"
```
Expand Down

0 comments on commit bf9bbc9

Please sign in to comment.