Prerequisite: You can refer to this article if you want to commit your local repository at juejin.cn/post/684490…

Recently, When yuan God was working on a project, he gave a hard lift to the operation of Git. Because the company he worked in before was all small formulas, the operation of Git was limited to three operations: Git pull, git commit and Git push. Today I wanted to merge some code from another branch that had been pushed to a remote repository into the release branch, but it changed so many times that it would have been too messy to merge it all with Git cherry-pick. Therefore, after my diligent Baidu search, I found that everyone had the same problem, but it was embarrassing that they were all for merge commit to local warehouse. When I want to give up, found www.ruanyifeng.com/blog/2020/0… Ruan Yifeng asked this article, have to say typesetting is really beautiful

Git cherry — pick –continue git cherry — pick — n 97f — git cherry — pick — n 97f — git cherry — pick — n 97f — git cherry — pick — n 97f Take turns.

I hope it’s helpful to those of you who see it