A
A
Albert2018-10-29 11:37:33
git
Albert, 2018-10-29 11:37:33

Git: how to easily apply only working commits of one branch to another?

There are 2 branches of the repository - one (Master branch) works on my system, the other (Develop branch) causes an error.
But in this Develop branch, according to the authors, some bugs have been fixed and something has been improved.
How can you use a working branch but only make changes to it that don't cause an error?
Or vice versa, use a non-working branch, but find and remove those commits in it that cause an error on my system.
How can this process be simplified?
Code, if anything, in python.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2018-10-29
@bigburn

find commits git bisect
remove git revert
selectively rebase git cherry-pick

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question