提交流程

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

你可能感兴趣的:(提交流程)