What exactly should I do in order to
- create a new branch from a certain commit (
git checkout -b new_one; git cherry-pick commit_id
, am I right?) - delete everything else
- rename branch
new_one
tomaster
?
Of course, any change should be also pushed to remote.
Thanks.