I will develop my app in branch dev
and provide the "best so far" (a release on GitHub) on a branch public
.
The branch dev
will have commits c964dea
, 06cf8ee
, 396b4a3
and 9be7fdb
. I would like to squash them into a single commit on branch public
(leaving them as-it on the branch dev
).
Is this possible?
I saw many questions and answers about squashing commits, but none of tehem seemed to address the problem of "squashing to another branch".