-
-
Notifications
You must be signed in to change notification settings - Fork 112
Git compatibility
kain88-de edited this page May 4, 2024
·
113 revisions
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 Git depends on your operating system. Below are instructions for a few popular operating systems.
Manual Download: Git for Windows
Using Chocolatey (as Admin!):
choco upgrade git
Using WinGet:
winget upgrade git
sudo add-apt-repository 'deb http://ppa.launchpad.net/git-core/ppa/ubuntu groovy main'
sudo apt update
sudo apt install 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.
brew install git # If you don't have Git installed via Homebrew already.
brew upgrade git # If you do.
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
- Search the Wiki π
- User guide
- Welcome
- Installation
- Tutorial
- Command overview
- General:
- Navigation:
- Committing:
- Rebasing:
- Verification:
- Collaboration:
- Workflows
- Advanced topics
- Reference
- Developer guide
- Onboarding offer
- Development
- Reference