I think there are two points of confusion.
Firstly, it seems like you are worried about the general advice not to reinstall the branch that was clicked, but you are not sure if you understand the reason for this advice.
, , ; , , / , , .
, feature, , feature, feature; , , feature, .
, , master. , feature... , , ? - feature delete.
, , , - , , . . , , master, rebase feature, git. master.
( : , . , - ? feature master, -
git checkout master
git merge --squash feature
, , , , feature.)