Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git hangs macOS Sierra terminal with no recovery

Running git version 2.10.2 (from Homebrew) on macOS Sierra 10.12.1. When I perform a git pull it completely hangs my terminal. If I force quit terminal and relaunch then terminal will not start. I've tried the following (from other answers):

  1. Change over from using DSA keys to RSA keys (due to deprecation of RSA in the latest OpenSSH)
  2. Updated to the latest Homebrew and updated git
  3. Tried a different terminal (iTerm)
  4. Ensured xcode is up-to-date and reinstalled commandline tools (xcode-select --install)

The fact that it completely hangs Terminal and can't recover makes it very hard to diagnose and it seems to mess with a number of other apps after this, requiring a complete reboot. Any help gratefully received!

like image 488
Stephen Avatar asked Nov 10 '16 13:11

Stephen


Video Answer


1 Answers

this was most frustating thing i faced in recent times, i used to force restart machine 3-4 times in an hour. but i solved it somehow

brew uninstall --force git

install git 2.10.1 https://git-scm.com/download/mac

restart terminal window/tab .. check the version of git should be 2.10.1

it is working without any problem for me.

like image 112
Deepak Patil Avatar answered Sep 24 '22 17:09

Deepak Patil