wrgl reset

Reset branch ref to the specified commit.

wrgl reset BRANCH COMMIT [flags]


-h, --help

help for reset

Inherited flags


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


write cpu profile to file


print debug logs to stdout


print debug logs to the given file instead


write heap profile to file


parent directory of repo, default to current working directory.


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

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