Reputation: 3
I have 2 branches which is created at the same time from master branch. Both has been merged to master after changes. Branch history look like below:
I want to change the structure so that Branch2 should be created from master that Branch 1 already merged. I want to change the structure to this:
Is it possible to change the git history from image 1 to image 2?
Upvotes: 0
Views: 40
Reputation: 822
Read about branch rebasing, and after that you can go to your branch2 and rebasing it with master
Upvotes: 2