Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't run `git gui` on macOs Big Sur

When I run git gui on Mac Big Sur . This is what happen :

Mac OS X 10.100 or later required !
error: git-gui died of signal 6

I also install xcode 12 beta 3 and xcodebuild -version stays Xcode 11.6 .

How can I solve those problems ?

like image 703
thecassion Avatar asked Jul 31 '20 14:07

thecassion


People also ask

How do I run git GUI on Mac?

Basically all you need to do is type 'open . ' to open the current directory in Finder and then click the Git button to open up git gui.

How do I run git GUI?

Windows and Linux Users To run gitk, type gitk in your command line or terminal. To run git-gui, type git gui instead.

How do I install git GUI?

Step 1: Download and install the latest version of Git for Windows. Step 2: Use the default options for each step in the installation. Step 3: Remove Git Bash Desktop Icon. Step 4: Go to Start > All Programs > Git > Git GUI and make a Desktop Shortcut.


2 Answers

A variety of things I had to do to fix this:

Update tcl (not sure if this was required for git gui, but it was necessary for gitk):

 brew install tcl

Install git-gui directly:

brew install git-gui

Ensure macOS is using the correct git (assuming here that you have already installed a version from this decade):

export PATH="/usr/local/bin:${PATH}"
like image 77
Tyler A. Avatar answered Jan 05 '23 03:01

Tyler A.


It's working again on macOS Big Sur 11.2 (20D64)

Just need to update your OS

Update: After a while, the issue happened again even after I update my macOS to 11.2.1 (20D74). But with a different message who said there is an unmatched exception "NSInternalInconsistencyException".

 *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: CGRectContainsRect(CGRectMake((CGFloat)INT_MIN, (CGFloat)INT_MIN, (CGFloat)INT_MAX - (CGFloat)INT_MIN, (CGFloat)INT_MAX - (CGFloat)INT_MIN), frame)'

I fix it with:

git config --local --unset gui.geometry

that mentioned in this answer

like image 28
Ashkan Avatar answered Jan 05 '23 02:01

Ashkan