Module B00_vcs.Git

val get_cmd : ?search:B0_std.Fpath.t list -> ?cmd:B0_std.Cmd.t -> unit -> (B0_std.Cmd.t, string) result
val find : ?dir:B0_std.Fpath.t -> unit -> (t option, string) result
val check_kind : t -> (unit, string) result
type remote = string
type branch = string
val pp_branch : branch B0_std.Fmt.t
val pp_remote_branch : (remote * branch) B0_std.Fmt.t
val remote_branch_exists : ?env:B0_std.Os.Env.assignments -> t -> remote:remote -> branch:branch -> (bool, string) result
val remote_branch_fetch : ?env:B0_std.Os.Env.assignments -> ?stdout:B0_std.Os.Cmd.stdo -> ?stderr:B0_std.Os.Cmd.stdo -> t -> remote:remote -> branch:branch -> (unit, string) result
val remote_branch_push : ?env:B0_std.Os.Env.assignments -> ?stdout:B0_std.Os.Cmd.stdo -> ?stderr:B0_std.Os.Cmd.stdo -> t -> force:bool -> src:branch -> remote:remote -> dst:remote -> (unit, string) result
val remote_branch_delete : ?env:B0_std.Os.Env.assignments -> ?stdout:B0_std.Os.Cmd.stdo -> ?stderr:B0_std.Os.Cmd.stdo -> t -> force:bool -> remote:remote -> branch:branch -> (unit, string) result
val branch_delete : ?env:B0_std.Os.Env.assignments -> ?stdout:B0_std.Os.Cmd.stdo -> ?stderr:B0_std.Os.Cmd.stdo -> t -> force:bool -> branch:branch -> (unit, string) result
val transient_checkout : ?stdout:B0_std.Os.Cmd.stdo -> ?stderr:B0_std.Os.Cmd.stdo -> t -> force:bool -> branch:branch -> B0_std.Fpath.t -> commit_ish option -> (t, string) result
val transient_checkout_delete : ?stdout:B0_std.Os.Cmd.stdo -> ?stderr:B0_std.Os.Cmd.stdo -> t -> force:bool -> (unit, string) result
val with_transient_checkout : ?stdout:B0_std.Os.Cmd.stdo -> ?stderr:B0_std.Os.Cmd.stdo -> ?dir:B0_std.Fpath.t -> t -> force:bool -> branch:branch -> commit_ish option -> (t -> 'a) -> ('a, string) result
val add : ?stdout:B0_std.Os.Cmd.stdo -> ?stderr:B0_std.Os.Cmd.stdo -> t -> force:bool -> B0_std.Fpath.t list -> (unit, string) result
val has_staged_changes : t -> (bool, string) result
val commit : ?stdout:B0_std.Os.Cmd.stdo -> ?stderr:B0_std.Os.Cmd.stdo -> ?sign:bool -> ?reset_author:bool -> ?amend:bool -> ?msg:string -> t -> (unit, string) result
val commit_exists : t -> commit_ish -> (bool, string) result
val rm : ?stdout:B0_std.Os.Cmd.stdo -> ?stderr:B0_std.Os.Cmd.stdo -> t -> force:bool -> recurse:bool -> ignore_unmatch:bool -> B0_std.Fpath.t list -> (unit, string) result