egit

Eclipse project-wide error: Warning: The environment variable HOME is not set. The following directory will be used to store the Git

僤鯓⒐⒋嵵緔 提交于 2019-11-26 17:41:21
问题 Started Eclipse and got this error. How do I fix it? 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:\Documents and Settings\Wizard'. 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

Is it better to keep Git repository inside or outside of Eclipse workspace?

天涯浪子 提交于 2019-11-26 15:45:27
问题 I am a typical Eclipse/Subversion user beginning the migration to Git. I've researched the basic concepts of git and have decided to stick to a one project per repository approach initially to keep things simple. I am still having trouble, though, deciding where to place the repository for each project. I have spent a lot of time reviewing the answers to this question, although I believe the author of that question was assuming that you can only use Eclipse to manage the repository if the

How to import a GIT non-Eclipse Java project into Eclipse?

*爱你&永不变心* 提交于 2019-11-26 15:11:03
问题 I have some problems importing a Java project into my workspace. I am following this tutorial - however I can not use the final Import existing projects step because the GIT repository I use does not include the Eclipse specific .project and .classpath files. Use the New Projects wizard Therefore the project is not recognizes as project and hence can not be imported. Therefore I tried my luck using the option Use the New Projects wizard and select "Java Project" in the next dialog. The

The current branch is not configured for pull No value for key branch.master.merge found in configuration

匆匆过客 提交于 2019-11-26 12:50:22
问题 I get this error when I try to pull from remote repository using Egit team>pull The current branch is not configured for pull No value for key branch.master.merge found in configuration 回答1: Your local master branch is not set up to track remote master branch. You could do git pull origin master to tell git the explicit branch you want to pull or you add this to your .git/config: [branch "master"] remote = origin merge = refs/heads/master When you push to master for the first time, add the -u

There is nothing changed, but eclipse egit marks the file as changed

断了今生、忘了曾经 提交于 2019-11-26 10:21:15
问题 I\'m using eclipse egit with github. I found something strange that I didn\'t change anything, but egit marked the file as \"changed\". See the images: the file \"run.bat\" is marked as \"changed\" Compare with \"file in Git index\", you can see nothing is different Compare with \"file in HEAD\", you can see nothing is different neither My friend uses mac and I use windows, but we all configured git as \"commit unix lineend\".. I also checked the lineend of my source and the HEAD, they are

“Auth Failed” error with EGit and GitHub

旧时模样 提交于 2019-11-26 07:55:02
问题 I\'ve installed EGit plugin at Eclipse Helios and I\'m trying to use it with my GitHub account, but when I try to configure it I get an \"Auth Failed\" error. I\'d been googling it but no luck... it seems to be a problem with my passphrase but AFAIK EGit is looking at the right place ( /home/user/.ssh/id_rsa ) and I\'ve no problem in connect by ssh or git console client. Some blogs says that is a problem with the URI and the Egit\'s parser but I still haven\'t found a solution. 回答1: My answer