Search code examples
macosgitkeychain

Git hanging after installing osx credential helper


I'm having the same problem as this thread: Git hangs indefinitely - broke with osx credential helper I think

Basically -- had been running git without problems, then installed the credential-osxkeychain and git began hanging indefinitely after any command. e.g., running git init results in a hanging prompt and any input creates an error: bad input

I tried following the advice to delete git from usr/bin/git but now it doesn't recognize anything. I tried reinstalling git but now it doesn't seem to recognize it.

I ran which git and it returns: /usr/local/git/bin/git

I'm somewhat new at this and don't have the balls to just start running sudo commands and moving things around in the /usr/bin directory.

Any ideas what I can do to fix this?


Solution

  • Still not totally sure what I actually did to fix this problem, but resetting the terminal ended up getting it to work.