Gh401 git history reset

use CheckoutAction

see MergeAction, CreateBranchAction
add "useNodeAsCommitId" and use it when necessary