Skip to main content

Module git_ops

Module git_ops 

Source
Expand description

Shared git CLI helpers for SCM + Git workbench.

Structs§

BranchInfo
CommitDetail
CommitFileChange
CommitSummary
DiffLine

Enums§

DiffLineKind

Functions§

checkout_branch
cherry_pick
commit_detail
Message + file list + numstat for one commit (GitHub commit page).
commit_file_diff
Diff of one file in a commit vs its first parent.
create_branch
current_branch
delete_branch
discard_file
fetch
file_diff
find_git_root
list_branches
list_commits
Newest-first commit list (git log --all when all is true).
log_file
parse_diff
Parse unified diff text and attach old/new line numbers from hunk headers.
pull
pull_rebase
push
remotes
revert_commit
run_git
run_git_ok
Best-effort; stderr on failure still returned as Err.
stage_all
stash_apply
stash_drop
stash_list
stash_pop
stash_push
stash_show
unstage_all