I have not been able to figure out after much trying. I have two local branches, master
and tests
. I have two corresponding remote branches with the same repo, origin/master
, origin/tests
. I have another remote branch public/master
. I have some pushed in commit history on both local master
and remote origin/master
. Now, I want to squash all the commits of origin/master
and push into the remote branch public/master
. I can't figure out how to do it.
I have tried doing rebase
on a new local branch but it didn't work.