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

--debug

print debug logs to stdout

--debug-file

print debug logs to the given file instead

--heapprofile

write heap profile to file

--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