R/dolt-commit.R
dolt_reset.Rd
Undo uncommitted work
dolt_reset(con, mode = c("soft", "hard"))
a `DoltliteConnection`.
`"soft"` unstages everything but keeps the working changes; `"hard"` discards uncommitted changes outright.
Invisibly `TRUE`.