我试图理解壁球和变基之间的区别。据我了解,在进行变基时会执行挤压。
Merge commits: retains all of the commits in your branch and interleaves them with commits on the base branch
Merge Squash: retains the changes but omits the individual commits from history
Rebase:这会将整个功能分支移至 master 分支的顶端,有效地将所有新提交合并到 master 中
More on here https://github.com/blog/2141-squash-your-commits
前两张图来自关于 GitHub 文档上的拉取请求合并 https://docs.github.com/en/github/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/about-pull-request-merges
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)