5
Dire che ho questi rami git:Git: cambia ramo principale?
master
branchone
voglio fare questo, mantenendo intatta tutta la storia:
master -> oldmaster
branchone -> master
Dire che ho questi rami git:Git: cambia ramo principale?
master
branchone
voglio fare questo, mantenendo intatta tutta la storia:
master -> oldmaster
branchone -> master
È possibile utilizzare git branch -m
.
git branch -m master tmpbranch
git branch -m branchone master
git branch -m tmpbranch branchone