📜  squash 提交 git - Python 代码示例

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

代码示例6
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.