私服加速以及配置gradle配置等可以参考博客:https://blog.csdn.net/guyexiangyun/article/details/106527732
关于异常
-
uild scan background action failed.
-
org.gradle.process.internal.ExecException: Process 'command 'git'' finished with non-zero exit value 12
-
net.rubygrapefruit.platform.NativeException: Could not start 'git'
自己做的一些配置:设置git的环境变量(自行百度)
还有就是在idea中的settings-git配置中,选择的git地址为git安装路径下的cmd文件夹下的git.exe
当你在idea的terminal中,使用git --version可以看到版本号的时候,就代表成功了
对了,如果是重新安装git,记得重启电脑!!