Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
kain88-de edited this page May 4, 2024 · 113 revisions

Compatible Git versions

You can check your installed version of Git by running git version.

The following versions of Git have been tested with git-branchless:

Git version Compatible? Supports undo? Notes
≀ 2.17 ❌ ❌ git move invocations may fail.
label/reset/merge commands for git rebase -i not implemented until Git v2.18.
2.18–2.23 ? ? Untested, but may still work.
2.24–2.27 βœ… ❌
2.28 ❌ ❌ Bug related to reference-transaction support.
No intention to fix at this time; upgrade your Git version.
File an issue if you really need Git v2.28.
2.29 βœ… βœ… First version with git undo support.
2.30 βœ… βœ…
2.31 βœ… βœ… Git v2.31+ are supported in git-branchless v0.3.2 or later.
2.32–2.37 βœ… βœ…
master See latest test run:
Linux (Git master)

Upgrading your version of Git

Upgrading Git depends on your operating system. Below are instructions for a few popular operating systems.

Windows (Git for Windows)

Manual Download: Git for Windows

Using Chocolatey (as Admin!):

choco upgrade git

Using WinGet:

winget upgrade git

Windows (Windows Subsystem for Linux)

sudo add-apt-repository 'deb http://ppa.launchpad.net/git-core/ppa/ubuntu groovy main'
sudo apt update
sudo apt install git

macOS (Built-in Git)

You can upgrade your version of macOS, as Big Sur has a recent version of Git (v2.30) available at /usr/bin/git. If you can't upgrade macOS, follow the instructions for Homebrew below.

macOS (Homebrew)

brew install git # If you don't have Git installed via Homebrew already.
brew upgrade git # If you do.

Linux (Debian derivatives, including Ubuntu)

sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git

Clone this wiki locally

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /