back to home

gitbutlerapp / gitbutler

The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte

19,491 stars
848 forks
668 issues
RustSvelteTypeScript

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing gitbutlerapp/gitbutler in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind-ai.vercel.app/repo/gitbutlerapp/gitbutler)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview
<div align="center"> <img align="center" width="100px" src="https://gitbutler-docs-images-public.s3.us-east-1.amazonaws.com/md-logo.png" alt="GitButler logo" /> <br /> <h1 align="center">GitButler</h1> <p align="center"> <b>Git, <i>but</i> better</b>. <br/> GitButler is a modern Git-based version control interface with both a GUI and CLI built from the ground up for AI-powered workflows. <br /> <br /> <a href="https://gitbutler.com">Website</a> <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span> <a href="https://blog.gitbutler.com/">Blog</a> <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span> <a href="https://docs.gitbutler.com/">Docs</a> <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span> <a href="https://gitbutler.com/downloads">Downloads</a> </p> <br/> <img width="100%" src="https://gitbutler-docs-images-public.s3.us-east-1.amazonaws.com/app-preview-light.png" alt="GitButler desktop app preview" /> <p align="center"><i>Our beautiful GUI</i></p> <img width="100%" src="https://gitbutler-docs-images-public.s3.us-east-1.amazonaws.com/cli-preview.png" alt="GitButler CLI preview" /> <p align="center"><i>Our amazing <code>but</code> CLI</i></p> <br/>

TWEET BLUESKY DISCORD

CI INSTA YOUTUBE DEEPWIKI

</div> <br/>

GitButler is a powerful new Git-based version control system, designed from scratch to be simple, powerful and flexible. It is designed for ease of use and modern agentic workflows.

It features stacked branches, parallel branches, unlimited undo, easy commit mutations, forge integrations and more.

Works instantly in any existing Git repo as a friendlier and more powerful drop-in Git user interface replacement - for you and your agents.

Main Features

Why use GitButler instead of vanilla Git? What a great question.

  • Stacked Branches (gui, cli)
    • Effortlessly create branches stacked on other branches. Amend or edit any commit easily with automatic restacking.
  • Parallel Branches (gui, cli)
    • Organize work on multiple branches simultaneously, rather than constantly switching branches.
  • Easy Commit Management (gui, cli)
    • Uncommit, reword, amend, move, split and squash commits by dragging and dropping or simple CLI commands. Forget about rebase -i, you don't need it anymore.
  • Undo Timeline (gui, cli)
    • Logs all operations and changes and allows you to easily undo or revert any operation.
  • First Class Conflicts (gui, cli)
    • Rebases always succeed. Commits can be marked as conflicted and resolved at any time, in any order.
  • Forge Integration (gui, cli)
    • Authenticate to GitHub or GitLab to easily open and update Pull Requests, list branches, get CI statuses and more. No other tools required.
  • AI Tooling (gui, cli)
    • Use built-in AI handlers to help create commit messages, branch names, PR descriptions and more.
    • Easily install hooks or skills for all modern agent systems to level up their Git management.

Tech

The GitButler desktop app is a Tauri-based application. Its UI is written in Svelte using TypeScript and its backend is written in Rust.

The but CLI is the same Rust backend engine with a Rust command line UI.

Documentation

You can find our end user documentation at: https://docs.gitbutler.com

Bugs and Feature Requests

If you have a bug or feature request, feel free to open an issue, or join our Discord server.

License

The TLDR is that GitButler is under a Fair Source software license, meaning that you can use it, view the source, contribute, etc. You just can't build a competitor with it. It also becomes MIT after 2 years. So, MIT with an expiring non-compete clause.

Contributing

So you want to help out? Please check out the CONTRIBUTING.md document.

If you want to skip right to getting the code to actually compile, take a look at the DEVELOPMENT.md file.

Contributors

<a href="https://github.com/gitbutlerapp/gitbutler/graphs/contributors"> <img src="https://contrib.rocks/image?repo=gitbutlerapp/gitbutler" /> </a>