Pregunta

So I have:

master
+commit1
+commit2
+commit3

myBranch
+commitA
+commitB
+commitC

I want to pick commitB in myBranch and merge it to master branch, what should I do?

¿Fue útil?

Solución

git checkout master
git cherry-pick commitB

Or even better, git help cherry-pick and read it.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top