Answer the question
In order to leave comments, you need to log in
Git. Move multiple commits from one branch to another.?
Good day.
I forgot to branch from master , made some changes to the code, and pushed a couple of commits.
After that, I forked from master and now I'm on the task branch.
How can I move the last two commits from master to the current branch?
Answer the question
In order to leave comments, you need to log in
GIT rebase
You need to change the commit that your branch is branching from.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question