How do I set the home directory for git?
My home directory is correct when I use git from cygwin and my .IdeaIC11 is in my home directory, but when I try to git => commit and push inside IntelliJ it picks /home/${user.name} instead of ${user.home} and so it cannot create a .gitconfig (as this directory doesn't exist) when one exists already in the correct directory.
How can I change it so the git plugin is trying to use the correct home directory?
I have IntelliJ 11.1.1 with the Git Integration plugin bundled.
Please sign in to leave a comment.
If I create the directory and copy the .gitconfig I still get the same error.
The home directory it was looking for was under cygwin /home/{user.name} so I created a symbolic link to where it actually way and it is ok. Strange that running `git` in bash doesn't need this. Perhaps git expects an environment variable to be set, which cygwin sets.
How do I move the location where Webstorm or any Jetbrain product to look? My home directory is network based and sometimes is not accessible.