git squash 将多个commit合并成一个提交

git reset --soft HEAD~3
git commit --eidt -m "xxx"
git push --force

你可能感兴趣的:(git squash 将多个commit合并成一个提交)