Issues in intelliJ with 0.7.0+
Since we started using external git instead of jgit, I keep getting errors in intellij: "Cause: error invoking git command" from https://github.com/palantir/gradle-git-version/blob/0.7.3/src/main/groovy/com/palantir/gradle/gitversion/GitCli.groovy#L24. Is there something I need to do to make intellij run my system's git command?
I personally never run Gradle out of IntelliJ, so haven't seen this and don't have a solution, sorry. Happy to take a fix though if you get to the bottom of this.
possible alternatives:
- use the built in terminal to run commands from intellij. it'll even setup your CWD to the project root
- use the External Tool "stuff" to run a command from inside intellij
So I'm not trying to run git manually inside intellij. My git integration actually works. I get this error when I press the 'Sync' button and it crashes on version gitVersion() in my build.gradle
hrmm, yea. i'm in the same boat as uschi2000 here, i haven't found a way to use intellij's built-in gradle support :(
you just have to make sure you git config is setup correctly. Intellij it's here :

This fixed it for me.