git reset

Reset HEAD to a specific state

Advanced

Syntax

git reset [--soft|--mixed|--hard] <commit>

Examples

Common flags & options

Related tools

Other Git commands