Consider the following tree:
A --- B --- C --- D --- E --- F --- master
\
\
B' --- C' --- D' --- topic
where (B != B'). I would like to do git rebase --onto master master topic, but it gives rise to conflicts. But the situation is simpler: I would like to put a single topiccommit on master.
git checkout master
git cherry-pick topic
git checkout topic
git reset --hard master
git checkout master
git reset --hard HEAD~1
Is it impossible to make teams with one team higher?
source
share