Move multiple commits from one branch to another?

I started with the branch master and developed. I created a development-based foo branch. 7 commits later, and now I understand that I want me to disable it. I can cherry pick every fix, it doesn't matter, but is there a smoother way?

+6
source share
1 answer

Try it. You can leave foo if this is the current posted thread.

 git rebase --onto master develop foo 
+4
source

Source: https://habr.com/ru/post/889734/


All Articles