Say I have two remote git branches, A
and B
.
I want branch A
to contain the contents of branch B
and later remove B
, so that only branch A
remains with B
's original contents.
Unfortunately, the remote repository won't allow my to simply delete the branch A
, so I'm stuck with somehow copying over B
into A
.
Is this possible using only git
commands?