Q: Sourcetree error : 'git status' failed with code -1"
Asked Answered
K

1

13

Sourcetree showing this error 'git status' failed with code -1" while trying access project from bookmark, also I can't clone any other project from remote list or manual by url.

SSH connection is good. Command ssh -T [email protected] showing - Hi "name"! You've successfully authenticated, but GitHub does not provide shell access. Command git clone also works fine and fetch project.

Knitted answered 27/4, 2022 at 19:49 Comment(0)
K
28

Resolved by clicking options > git > Use System Git and set to use System Git Version.

Knitted answered 27/4, 2022 at 19:52 Comment(2)
On macOS Preferences > Git > Use System GitRosel
On newer macOS Sourcetree upper left corner -> Settings (⌘ ,) -> Git version -> Use system gitGrayback

© 2022 - 2024 — McMap. All rights reserved.