zl程序教程

您现在的位置是:首页 >  工具

当前栏目

[Git] Squash commits

Git
2023-09-14 08:59:12 时间
git checkout yourBranch
git reset --soft HEAD~$(git rev-list --count HEAD ^master)
git add -A
git commit -m "one commit on yourBranch"