Eclipse not respond when try to configure GIT

Windows 10 Pro 64 Bit SSD Kingston i5-4690 Eclipse version: ALL Workspace: empty Problem: everytime i try to configure TEAM > GIT > configuration or i try to import/create local/remote git, eclipse freeze until i force to close it with task. I have already tryed a fresh install ( juno/mars/neon/oxygen ) 32/64 bit with and without installer with no good results

!SESSION 2017-06-27 00:39:29.113 -----------------------------------------------
eclipse.buildId=4.7.0.I20170531-2000
java.version=1.8.0_91
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.egit.ui 2 0 2017-06-27 00:39:50.111
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\Enrico'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2017-06-27 00:41:04.510 -----------------------------------------------
eclipse.buildId=4.7.0.I20170531-2000
java.version=1.8.0_91
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Framework arguments:  -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product -data file:/C:/Users/Enrico/workspace/ -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.egit.ui 2 0 2017-06-27 00:41:13.439
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\Enrico'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2017-06-27 00:42:32.097 -----------------------------------------------
eclipse.buildId=4.7.0.I20170531-2000
java.version=1.8.0_91
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.egit.ui 2 0 2017-06-27 00:42:42.119
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\Enrico'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2017-06-27 00:45:05.785 -----------------------------------------------
eclipse.buildId=4.7.0.I20170531-2000
java.version=1.8.0_91
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Framework arguments:  -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product -data file:/C:/Users/Enrico/workspace/ -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.egit.ui 2 0 2017-06-27 00:45:13.542
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\Enrico'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2017-06-27 00:47:39.707 -----------------------------------------------
eclipse.buildId=4.7.0.I20170531-2000
java.version=1.8.0_91
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.egit.ui 2 0 2017-06-27 00:47:49.374
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\Enrico'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

MY SOLUTION: "Delete all folders from USER_FOLDER ( .p2 .eclipse ) and PROGRAMFILES. Remember to reboot!!!! Now all works fine with eclipse oxygen and git project"

The GIT plugin of Eclipse tries to detect whether to use the GIT executable of the OS, or the build-in GIT. Therefor it uses a bash command.

Before the Windows Creators Update, the bash command did not exist (unless you've installed CygWin or a similar program). With the Windows Creators Update, a new feature Windows Subsystem for Linux is added. When the bash command is first called, it asks whether to install this feature or not.

So in order to fix GIT in Eclipse, you just have to manually run bash once and install it. You may have to activate Developer Mode in Windows.

Eclipse Community Forums: EGit / JGit » EGit freezes Eclipse in , I've installed 2019-06 release to try it and I'm having issues with EGit. Re: EGit freezes Eclipse in 2019-06 release [message #1808563 is a reply to I'm not able to open the Preferences->Team->Git->Configuration dialog. Every time I try to push I get reject non-fast forward. If I push from the terminal it works just fine. I am using Ubuntu Natty latest eclipse Egit plugin git https. I would rather use ssh, but I can not get that to work either.

I had the exact same issue: Eclipse was not responding when trying to configure git.

I used Java VisualVM and discovered that Eclipse was not responding because of Eclipse JGit was searching for git.

 at java.io.FileInputStream.readBytes(Native Method)
    at java.io.FileInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    - locked <0x00000000cf57bf60> (a java.io.BufferedInputStream)
    at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
    at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
    at sun.nio.cs.StreamDecoder.read(Unknown Source)
    - locked <0x00000000cf382838> (a java.io.InputStreamReader)
    at java.io.InputStreamReader.read(Unknown Source)
    at java.io.BufferedReader.fill(Unknown Source)
    at java.io.BufferedReader.readLine(Unknown Source)
    - locked <0x00000000cf382838> (a java.io.InputStreamReader)
    at java.io.BufferedReader.readLine(Unknown Source)
    at org.eclipse.jgit.util.FS.readPipe(FS.java:528)
    at org.eclipse.jgit.util.FS.readPipe(FS.java:479)
    at org.eclipse.jgit.util.FS_Win32.discoverGitExe(FS_Win32.java:127)
    at org.eclipse.jgit.util.FS.discoverGitSystemConfig(FS.java:647)

I am on Windows, Git for Windows was installed, but for a strange reason the Environment Variable pointing on Git was not defined.

I had to add the directory of git.exe (C:\Program Files\Git\bin) in the System variable named Path.

Eclipse is not freezing anymore.

EGit / JGit » Newbie: EGit hangs eclipse , I then try to follow the tutorial to Create a Repository for the HelloWorld project, but when I click on the "Create Repository" button the whole IDE hangs(displays Not Responding in the windows Am I doing anything wrong in the way I install EGit??? If C Git is not installed you can point it to basically any EGit should follow the General > Network configuration settings. If you set that Network mode to "Manual", you can: set your proxy (with authentication) add sites you want in "no_proxy" (in order to not try to contact a proxy) This seems also valid for ssh protocol, as illustrated by bug 349702.

Adding git to the path variable on Windows 10, using Eclipse Oxygen worked for me! TY :D

515354 – After Windows 10 Update jGit hangs on finding git.exe, If you configure such scripts then jgit will try to call bash during a lot of occasions. Back to your problem: JGit tries to find out whether native git is installed or not. Please note that Eclipse also hangs if the user does not have the permission to The real issue is that if a "bash" executable does not respond as expected  Configuring DevOps - Continuous Integration Automation with Eclipse, Git & GitHub and Jenkins.

1) Check if you have already installed Git or not.

2) See if git variable is properly set in environment or not.

3) Try to execute git command in command prompt, it should work first.

Once all above steps are Okay, try restarting eclipse in clean mode.

EGit / JGit » Error when trying to use , Then, I attempt to select the Project, then Team->Share Project->Git, Re: Error when trying to use existing git repository [message #919566 is a reply to Eclipse projects and buildDir is an Eclipse project not part of any Git repository. Fwiw I've configured Eclipse C++ projects as I described earlier and  Additionally you will also need a GitHub account. Eclipse (Download Eclipse): Download and install Eclipse (if not already installed). The recommended version tested with this tutorial is Eclipse Mars 4.2, Eclipse IDE for Java Developer. EGit: EGit is a plugin for Eclipse which allows you to interface with Git.

if you have cygwin,add cygwin bin dir to path. Cygwin have a bash.exe

EGit / JGit » Git not showing up as an , Have you tried opening the Git perspective (via the control for that in the upper right of the window)? Are there any clones there? You can either  eclipse process show "not responding Check then if going to the dialyser tab hangs eclipse. If not, try the same thing (except installing the runtime, which I

549562 – Preferences->Team->Git->Configuration hangs eclipse, When accessing Prefs->Team->Git->Config (2.04 MB, text/plain) Please note: the Adaptj StackTrace link no longer works and jvisualvm doesn't (In reply to Jon Z. from comment #2) > Created attachment 279413 [details]  Now that your identity is set up, you can configure the default text editor that will be used when Git needs you to type in a message. If not configured, Git uses your system’s default editor.

EGit / JGit » Can't connect to any , When I tried to commit and push I get this error: If not you can configure that via Preferences > General > Network Connections > SSH2 Select repository type "Git" and click "Next" To configure the Git repository select the new Eclipse project HelloWorld Click "Create" to initialize a new Git repository for the HelloWorld project. If your project already resides in the working tree of an exisiting GIT repository the repository is chosen automatically.

"Auto share git projects" blocks eclipse forever : eclipse, I have a git Java EE project which i cloned with sourcetree and i want to import it with /eclipse-not-respond-when-try-to-configure-git/44910936#44910936 ? Your Git identity at eclipse.org. Your correct Git committer_id identity is at eclipse.org can be found on the Gerrit settings page. Your user ID is the same for SSH Git and Gerrit. Note that it is NOT the same as your wiki.eclipse.org Username (which is essentially your email address), or bugs.eclipse.org Email Address.

Comments
  • Hi. Did you manage to get it working? I have exactly the same issue after upgrading to Windows Creators Update on Win Pro 64 bit.
  • Delete all folders from USER_FOLDER ( .p2 .eclipse ) and PROGRAMFILES. Remember to reboot!!!! Now all works fine with eclipse oxygen and git project
  • Your solution worked for me. I have been struggling to fix this for days. Just for sake of knowledge, how did you reach this solution?
  • It's been a while, but if I remember correctly I figured it out by looking into the source code of eGit, the Eclipse Git plugin.
  • Thanks a bunch. I was desperately searching for a solution.
  • This is bad design. The windows version should use batch command at the very least. Know where it can be reported?
  • Hi Tiffany, welcome to SO. Feel free to expand on your answer on how the user asking can reach positive results from your suggested approach, so your answer looks complete.