I need to:
- Keep the last commit made to a Pull-Request.
- Remove the two commits prior to a Pull-Request.
In Team Explorer in Visual Studio 2019:
- I go to Team Explorer.
- I go to Branches.
- I right-click my local branch to bring up the local history.
- I right-click a commit that I would like to remove.
There is an item in the context menu: "Cherry-Pick". Does "Cherry-Pick" select a commit that I want to keep or select a commit for removal?
Would the "Reset | Delete Changes (--hard)" be a way to remove a specific Commit?
The Git terminology is somewhat vague and opaque.