Expand description
Git operations for branch management and merging.
§Doc Audit
- audited: 2026-01-25
- docs: reference/git.md
- ignore: false
Re-exports§
pub use crate::git_ops::branch_exists;pub use crate::git_ops::can_fast_forward_merge;pub use crate::git_ops::checkout_branch;pub use crate::git_ops::count_commits;pub use crate::git_ops::delete_branch;pub use crate::git_ops::get_commit_changed_files;pub use crate::git_ops::get_commit_files_with_status;pub use crate::git_ops::get_commits_for_path;pub use crate::git_ops::get_commits_in_range;pub use crate::git_ops::get_conflicting_files;pub use crate::git_ops::get_current_branch;pub use crate::git_ops::get_file_at_commit;pub use crate::git_ops::get_file_at_parent;pub use crate::git_ops::get_git_config;pub use crate::git_ops::get_git_user_info;pub use crate::git_ops::get_recent_commits;pub use crate::git_ops::is_branch_behind;pub use crate::git_ops::is_branch_merged;pub use crate::git_ops::rebase_abort;pub use crate::git_ops::rebase_branch;pub use crate::git_ops::rebase_continue;pub use crate::git_ops::stage_file;pub use crate::git_ops::CommitInfo;pub use crate::git_ops::ConflictType;pub use crate::git_ops::MergeAttemptResult;pub use crate::git_ops::RebaseResult;
Structs§
- Merge
Result - Result of a merge operation.
Functions§
- ensure_
on_ main_ branch - Ensure the main repo is on the main branch.
- format_
merge_ summary - Format the merge result as a human-readable summary.
- merge_
single_ spec - Merge a single spec’s branch into the main branch.