reset branch question
# help
u
reset branch question
u
the
path
expected in the
ResetCreation
object for resetting branches - can we pass in a prefix/glob pattern there? or is it supposed to refer to a single object?
u
Let me check and get back to you
u
Hi You can either pass a path to a single object, with
type
set to
"object"
, in order to reset an uncommitted object, or you can pass a path to a prefix, with
type
set to
"common_prefix"
, to reset uncommitted object*s* under a prefix. There is also an option to set the
type
field to
"reset"
to reset all uncommitted objects in a branch
u
The later case ignores the value sent in the
path
field
u
excellent, thanks!