I’m a bit newbie to Git, sorry if the question sounds dumb.
I want to work in a branch A and from time to time drop changes from A to a branch B.
But I don’t want to close or delete the branch A, I want to keep working in it.
What is the best way to do this?
I mean, I want to find the right approach so that I can do it regularly, without any extra tweaks.
Cherry-peak? Merge with some options? Something else?
Or is it considered a bad practice at all? Thanks.
If I use “git merge” A into B, it literally gets merged into B. But I don’t want it, I only want to transfer accumulated changes to B, and work in A further.
Nikolai Chichulin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.