1

Today I woke up and realised I cannot commit anymore... Strangely enough other git commands work fine. Whenever I create a new directory, git init . inside, touch a new, empty file inside, git add it, and then run git commit -am "test" the command gets stuck. I wait for 10 minutes and nothing happens...

My OS version: macOS 13.4.1; MacBook Pro 2017.

$ git --version
git version 2.39.2 (Apple Git-143)

$ which git
/usr/bin/git

I have been googling around a little and tried two other git installations: the one from Homebrew installed with brew install git and the one from Conda installed with conda install -c conda-forge git. No luck. I have reinstalled my XCode Command line Tools with first removing them and then xcode-select --install (~15GB download and 10min installation). No luck.

Did anyone else experienced anything similar?

1 Answer 1

2

It turns out my problem is not Mac related at all, gpg commit signing gets stuck.
See the following questions for resource:

In order to debug try command: GIT_TRACE=1 git commit -am "new file"

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .