提交流程

git pull origin opt/20220419_department_tree

git log

git rebase -i 0c3e35f734f31153b4f6638f7d2a4207dc6c1acc
最近的一次上个人的提交记录

git log 确认下是否记录没了

git push -f origin opt/20220419_department_tree

(git push --set-upstream origin opt/20220419_department_tree)

git pull --rebase

git rebase opt/20220413_department_tree

git log : 记录最近的一个提交的id

切到目标分支:opt/20220413_department_tree

git pull --rebase

git cherry-pick a88cdd71a79f6b66e3558e2a158b199c0d84b1a9

git push origin opt/20220413_department_tree

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容