Updated: 2023-02-24 Rebase to previous commit of a sepcific branch ie. master can be done in many ways. Probably the article on squash will also be of interest. Standard way git reset --hard origin/master git status or reset to any previous specific commit.
Read More