Going in any git repo directory hangs the terminal (and iTerm) in MacOS Mojave.
Reason: you may need to reset the path to Xcode if you have several versions
Solution: If you have an antivirus running that scan the folders for threat, try disabling it and if that solves the issue, provide the correct settings to allow git.
Run the following command in your terminal
Run the following command in your terminal
xcode-select --switch /Applications/Xcode.app
xcode-select --switch /Library/Developer/CommandLineTools
Reference:
https://apple.stackexchange.com/questions/254380/why-am-i-getting-an-invalid-active-developer-path-when-attempting-to-use-git-a
Comments
Post a Comment