Reputation: 771
I use Eclipse Indigo and Windows 7 and plugin egit/jgit for Eclipse.
How to change user location in egit? I should do it, because it contains special characters, which doesn't understand egit. I want "C:\git\home\.gitconfig" instead "C:\Users\Кирилл\.gitconfig". How can I do it? When I press "Open" nothing happens.
And in the next Tab "Repository setting" I don't change anything too.
Upvotes: 11
Views: 19495
Reputation: 12616
Git reads the XDG_CONFIG_HOME environment variable to find the users git config (see http://git-scm.com/docs/git-config) but unfortunately JGit doesn't look at it.
I've raised a bug here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=430194
please log in to the Eclipse Bugzilla and vote for it.
Upvotes: 2
Reputation: 3054
You need to add an environment variable: This is how i did it on windows 7
Upvotes: 28