Let's say I have two local branches master
and slave
. Did some work on master
and committed changes.
Now I want include only part of file from my master
to slave
.
I do know that how to include whole file.
git checkout `slave`
git checkout `master` -- <file>
But that doesn't solve my problem.