A
A
Artyom Zubkov2013-01-14 07:05:47
git
Artyom Zubkov, 2013-01-14 07:05:47

Bring the current state of the branch to the current state in the master branch?

Dear friends, this is my dilemma, which appeared due to laziness, of course =)
The essence of the problem is the new branch, but it needs to make changes that were made in master and they are very important and their 20 commits (albeit with not more which changes in each). But the problem is that there are a lot of differences between the master and new, and with rebase there are a lot of conflicts that are associated with renaming objects, replacing one component with another, and so on.
So if there is a way to use Git to tear out changes between revisions of master and make them into new?
git format-patch+ git ampour a bunch of errors and are not applied.
Maybe apply some kind of rebase approach, not just straight git rebase masterfrom the new branch, but some kind of stage-by-stage?
I'm looking for advice and suggestions...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey Smirnov, 2013-01-14
@Melorian

git pull <project path> master?
Or just git merge master

A
Anton Taraev, 2013-01-14
@ataraev

git rebase -i

V
Vyacheslav Slinko, 2013-01-14
@KeepYourMind

As a last resort, you can merge a specific commit:git merge h4shc0d3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question