| EGit could not detect where Git is installed [message #935034] |
Sat, 06 October 2012 11:50  |
Pothik Babu Messages: 2 Registered: October 2012 |
Junior Member |
|
|
I just installed Eclipse Juno, and when I first try to start a new Java project, it pops out two messages. Can anyone help me please? Thanks a lot. (BTB I saw same posting but could not get the solution out of it, anybody saw and can help me for the same. If somthing need to be installed how can I do ...)
The first one- EGit could not detect where Git is installed
EGit does not require Git to function, but there may be important settings in the installation directory that EGit needs to know about in order
to be compatible with Git. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in the
etc director of the Git installation. The directory can be configured in Preferences under Team > Git.
The second-
Check Home Directory C:\Users\"my name"
the environment variable HOME is not set. The following directory will be used for storing the Git user configuration and as default repository location: C:\Users\"my name". If this is not correct please set the HOME environment variable and restart Eclipse
|
|
|
|
|
|
|
|
|
| Re: EGit could not detect where Git is installed [message #1048478 is a reply to message #935034] |
Wed, 24 April 2013 10:23  |
Thomas Berg Messages: 1 Registered: April 2013 |
Junior Member |
|
|
(For those who also have Git (command-line) installed)
Had the same issue (Windows 7, Eclipse Juno, Egit).
Environment variable HOME is not set:
I used the commandline tool in windows (Run, "cmd", Enter):
Restart Eclipse after you've set the HOME environment variable.
EGit could not detect where Git is installed:
I also have the command-line version of Git installed. Just find out where Git is installed (mine is installed under c:/Program (x86)/Git). Go to Window->Preferences->Team->Git->Configuration->System Settings->Location and browse for the Git installation directory.
Under Window->Preferences->Team->Git->Configuration->User Settings you can also add the following keys: "user.name" and "user.email".
|
|
|
Powered by
FUDForum. Page generated in 0.01678 seconds