Skip to main content

Crate git_squish

Crate git_squish 

Source

Enums§

SquishError
Custom error type for git-squish operations

Functions§

get_current_branch_name
Get the current branch name from the repository’s HEAD. Returns the full reference name (e.g., “refs/heads/feature”).
squash_branch
Squash a branch onto an upstream branch, replacing the branch history with a single commit.