zl程序教程

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

当前栏目

git rebase合并自己分支的commit

Git 自己 分支 合并 commit rebase
2023-09-14 09:06:35 时间
# 查看记录
git log

# Rebase <num> 个 commit
git rebase -i HEAD~<num>

# 修改 文件 p(保留),s(合并)
# push 到远程仓库
git push --force