Computers studio-mac Diagnostics
Update git on studio-mac
Sample versions: trailside 0.9.4 needs git 2.39 or later. studio-mac has 2.37.1.Sample versions: trailside 0.9.4 needs git 2.39 or later to set up worktrees faster. studio-mac has 2.37.1.
Sample check · fictional
Sample version mismatch. Sample attempts #1206 and #1207 use trailside 0.9.2. No software is installed or changed here. About the updateAbout the update
Fix it on studio-macAbout 2 minutes
- 1Update Xcode command line toolsUpdate Xcode toolsFollow the installer’s instructions on your own computer.Follow the installer’s instructions on your own computer.$xcode-select --install
- 2Check the versionCheck the versionIt should print 2.39 or later.It should print 2.39 or later.$git --version
- 3Preview the checksPreview the checksThis is sample output. This page never contacts studio-mac.This is sample output. This page never contacts studio-mac.$trailside doctor
sam@studio-mac ~ $ brew upgrade git
==> Upgrading git 2.37.1 -> 2.46.0
sam@studio-mac ~ $ git --version
git version 2.46.0
sam@studio-mac ~ $ trailside doctor
✓ git 2.46.0
Sample output · nothing was sent
Example output in studio-mac’s terminal. Nothing runs here.
Why 2.39
- 0.9.4 sets up worktrees faster with a git option added in 2.39.
- Sample cards are unchanged. Nothing runs here.
Sample check · fictional