Git - Merge a part of branch commits -


how merge several, selected commits branch b a. did not sure if there 1 line solution this:

git log -p -1 b~~ | git apply git log -p -1 b~ | git apply git commit -m 'merge penultimate , before penultimate b commits a' 

use git cherry-pick

in case (when branch current head):

git cherry-pick b~1


Comments

Popular posts from this blog

Java sticky instances of class com.mysql.jdbc.Field aggregating -