qmetrics.net

Git Absorb

Automatic git commit --fixup from staged edits

git absorb maps staged hunks to recent commits and writes fixup commits, similar to hg absorb. Optional rebase integrates fixes without manual fixup targeting.

Overview

git absorb helps developers keep atomic history when review feedback arrives as scattered line edits. After staging fixes, the tool inspects recent commits on the branch and tests whether each hunk commutes with candidate parents to decide where a fixup belongs.

By default it examines about the last ten commits unless a base ref is set. Hunks that match a commit spawn fixup! messages referencing that commit; hunks that commute with the entire stack stay staged with a warning. The --and-rebase flag can apply fixups immediately via autosquash semantics.

The implementation is a Rust CLI using bundled libgit2, with packages for common operating systems and cargo install from source. Documentation covers stack sizing, reset recovery via reflog, and manual pages for configuration.

Teams doing frequent interactive rebases use absorb to avoid hand-picking SHAs for git commit --fixup when addressing review comments on feature branches.

Key features

  • Staged hunk to commit mapping
  • Automatic fixup commits
  • Optional autosquash rebase
  • Commutation-based matching
  • Configurable commit stack
  • Explicit base commit
  • Cross-platform binaries
  • reflog-friendly recovery

Use cases

  • Applying code review fixes
  • Maintaining atomic git history
  • Avoiding manual fixup SHAs
  • Stacked branch workflows

Tags

Similar software

lazygit

Terminal user interface for everyday Git workflows

Lazygit runs in your terminal inside a Git repository and provides keyboard-driven panes to stage, commit, rebase, cherry-pick, bisect, and inspect history without memorizing long Git command sequences.

  • Line-level and hunk staging
  • Interactive rebase from the TUI
  • Cherry-pick and bisect support
GoLinux, macOS, Windows, CLIDetails →
★ 84.3k⟳ todayMIT

Gitea

Self-hosted Git forge with CI/CD and packages

Gitea is an all-in-one software development service you can run on your own infrastructure. It combines Git hosting with issues, reviews, project boards, package registries, and Gitea Actions CI/CD.

  • Git repository hosting and review
  • Issues, labels, and kanban boards
  • Gitea Actions CI/CD workflows
GoWeb, Linux, macOS, WindowsDetails →
★ 59.5k⟳ todayMIT
Open Source Alternative to:BitbucketCircleCI+2

Gogs

Self-hosted Git service with web collaboration tools

Gogs hosts Git repositories over SSH and HTTP(S) and adds issues, pull requests, wikis, and organization features through a browser UI.

  • Git over SSH and HTTP(S)
  • Browser code browse and edit
  • Issues and pull requests
GoWeb, Linux, macOS, WindowsDetails →
★ 48k⟳ 8 days agoMIT
Open Source Alternative to:BitbucketGitHub

GitHub CLI

Official GitHub terminal client

GitHub CLI brings issues, pull requests, and other GitHub workflows to the terminal beside git. It works with GitHub.com, Enterprise Cloud, and supported Enterprise Server deployments.

  • Pull request workflows
  • Issue management
  • Git-adjacent terminal UX
GoLinux, macOS, Windows, CLIDetails →
★ 47.5k⟳ todayMIT

Harness

End-to-end developer platform with SCM, CI/CD, and registries

Harness Open Source combines code hosting, automated DevOps pipelines, hosted development environments called Gitspaces, and artifact registries in one platform.

  • Git source control hosting
  • CI/CD pipelines in Docker
  • Hosted Gitspaces dev environments
GoWeb, Linux, macOS, WindowsDetails →
★ 39k⟳ yesterdayApache-2.0
Build & DeploymentSelf-hostable
Open Source Alternative to:BitbucketCircleCI+3

delta

Syntax-highlighting pager for git and diff output

delta replaces less for git show, diff, and blame with themes, word-level highlights, and side-by-side layout. Configure it as git’s pager or launch an interactive TUI on top of gitu.

  • Git-aware syntax highlighting
  • Side-by-side diff view
  • Word-level diff emphasis
RustWindows, CLIDetails →
★ 33.1k⟳ todayMIT