wrgl reset

Reset branch ref to the specified commit.

wrgl reset BRANCH COMMIT [flags]

Flags

-h, --help

help for reset

Inherited flags

--badger-log

set Badger log level, valid options are "error", "warning", "debug", and "info" (defaults to "error")

--cpuprofile

write cpu profile to file

--heapprofile

write heap profile to file

--log-file

output logs to specified file

--log-verbosity

log verbosity. Higher value means more log

--no-progress

don't display progress bar

--wrgl-dir

parent directory of repo, default to current working directory.

Examples

# reset branch to the previous commit
wrgl reset main main^

# reset branch to an arbitrary commit
wrgl reset main 43a5f3447e82b53a2574ef5af470df96