Command referencegitresetOn this pagert git reset rt › git › reset Safe reset with divergence detection Usage rt git reset Subcommands CommandDescriptionoriginSync with origin/current-branch (after remote rebase)softSoft reset to HEAD (unstage files)hardHard reset to HEAD (discard all changes)