Record a problem encountered yesterday and the solution, hope to meet the same problem you useful!
Git is not available. Git is not available. Git is not available.
At first, I thought there was something wrong with Git. I opened the terminal and tried the Git command. Everything was normal.
Start the IntelliJ menu: Preferences… .
Directly search git in the left search box or directly find the Version Control menu item and click the subordinate Git function item. At this time, you can see the configuration of the current Git command path as shown in the following figure:
This is the problem. Change the path to:
/usr/local/bin/git
Copy the code
Click the Test button on the right to Test it, and you can see the result as shown below:
When you’re done, remember to hit Apply and Ok, then close the Settings window and Git is ready to go!
Welcome to pay attention to my official account: Program ape DD, for exclusive learning resources and daily dry goods push. If you are interested in my feature content, you can also follow my blog: didispace.com