-
-
Notifications
You must be signed in to change notification settings - Fork 90
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: |
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