Command referencegitresetOn this pagert git reset rt › git › reset Reset your branch safely Usage bashrt git reset Subcommands CommandDescriptionoriginMatch origin after someone rebased the branchsoftUnstage everything, keep your editshardThrow away every uncommitted change