IntelliJ Git Integration – git –version empty output
I am currently trying to use the Git integration for IntelliJ 2016.2, but whenever I point it to the executable I get the following issue:
- Workflow for multiple SVN branches in IntelliJ IDEA
- IntelliJ IDEA - What is the keyboard shortcut for 'git pull' command?
- How to add two projects from one workspace to git in IntelliJ Idea?
- IntelliJ fails to commit changes when attempting to sign commit (GPG)
- How to keep a local committed change from being pushed(think IDE files)
- How to make this (github) source into a library/jar?
This doesn’t technically prevent the integration from working but it does cause issues updating the index etc.
I’m running Windows 7, with a completely fresh install, but I had the same issue on the previous PC (these are work machines with various irritating levels of security) but I have colleagues with the same kit that have no such issues.
I should have mentioned that it works fine on the command line:
I’m sure I’ve read something about a change in the way this works internally that means when it’s called by an outside executable the output gets screwed up, but I can’t find the reference again.
2 Solutions collect form web for “IntelliJ Git Integration – git –version empty output”
I had the same issue and tried a number of things. It eventually began working again when I downgraded my git install.
- Close Intellij
- Uninstall git (my version was git version 2.10.1.windows.1)
Download an older version from here:
I used this specific version:
Reload Intellij. Git should now work.
Make sure you set the right path to Git executable:
IntelliJ > Settings > Version Control > Git should be C:/…/Git/bin/git.exe
Do not set git-bash.exe or git-cmd.exe