📜  git squash commit - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:51.339000             🧑  作者: Mango

代码示例4
git rebase -i HEAD~5
# As the commit on line 1 is HEAD, in most cases you would leave this as 
# pick. You cannot use squash or fixup as there is no other commit to 
# squash the commit into.