需要idea先配置git:
File --> Setting --> Version Control ---> Git 设置path to git executable 设置git.exe 位置:D:DevProgramGitingit.exe