I have branch1
and branch2
in a Git-tracked project. There were several commits made in branch2
ahead of branch1
in directories directory1
and directory2
. I need to push all files commited to directory1
from branch2
to branch1
but not to push any files of directory2
from branch2
to branch1
. How can I implement this operation?
More specifically, how can I pull changes from only directory1
from branch2
standing on branch1
?
1