egit

Cannot import local git into Eclipse to create a new project (throws error “Connecting Git team provider failed”)

自古美人都是妖i 提交于 2019-12-09 05:13:50
问题 I created a git repository on my local computer: git init git add TestGit.java git commit -m "Start" I then went into Eclipse and chose to import and create a new project from that Git repo. During the Wizard steps, it recognized the .git directory and saw it as a repo (when I check in "Preferences", it shows under repositories) but when I then click to create the new project it fails everytime with: Connecting Git team provider failed. See log for details. Connecting Git team provider failed

How to import GitHub and Bitbucket repositories into Eclipse Mars?

丶灬走出姿态 提交于 2019-12-09 04:39:19
问题 I installed Eclipse Mars enabled the Git perspective and imported a repository. It looks fine, but Eclipse is not behaving normal I can't create new files and search is not finding anything outside the file I'm in. What is the proper way to import repositories/projects from GitHub, Bitbucket and other Git Hosts? 回答1: First you need to clone the (git) repository in Eclipse. Steps to clone git repo in Eclipse Go to GitHub, or BitBucket, and copy the URL of the repo to clone In Eclipse, Open the

Egit is installed (came with Juno), but does not show at all

扶醉桌前 提交于 2019-12-09 03:32:29
问题 I want to use GIT in eclipse, and preferably EGit, for it's support from the eclipse community itself. However, despite eclipse claiming the required plugins are installed, it does not appear in the perspectives, import and settings menu's. I am using Eclipse Juno for Java EE, and have confirmed the following installs: When I update software, there are no more updates available. When I go to the repository for Egit, or JGit for that matter, eclipse tells me the plugins are already installed.

Cannot fetch or pull from Github with Eclipse (EGit) because wrong password is stored

老子叫甜甜 提交于 2019-12-09 02:49:37
问题 The first time I entered the password for a pull pull request from Github with Eclipse (EGit) I probably mistyped it. Now it automatically uses this password and everytime I try to make pull / fetch or push to upstream I get a not authorized error. But I can't find anywhere how to fix the wrong credentials. Anyone who knows? 回答1: I think Preferences > General > Security > Secure Storage > Clear Passwords which clears everything. Or you can also selectively delete stuff from <user directory>\

How can I uninstall Egit feature from Juno?

爷,独闯天下 提交于 2019-12-08 19:55:19
问题 I am trying to run JUnit test for an eclipse plugin I created. However, the confirmation dialogs from the EGit plugin blocks my perspective from loading up, and hence throws an unnecessary exception on my console for JUnit. I tried looking for possibility to uninstall the plugin, but did not see any such option. How can I disable the Egit plugin? 回答1: Note that the problem with the confirmation dialog has been fixed in EGit 2.2, which will be released on 2012-12-19, see bug 391377. In general

Unable to push to github with EGIT

荒凉一梦 提交于 2019-12-08 15:13:29
I have been trying to configure Eclipse (Oxygen) to be able to push to a repository on github, but to no avail. I have been trying many different configurations and using the command line, TortiseGit and Atlassian Sourcetree. I have had varying levels of success with all the others, but not with EGIT on Eclipse. I can clone the repo and import it. I can pull changes from it. But when go to push I always get the same problem, a "Not authorized" error. I have tried using _netrc, ssh keys, and passwords, all to no avail. I have tried following the instruction on all of the other questions of a

EGit: Issuing a fast-forward pull ~ How to configure fetch for a remote repository in EGit

China☆狼群 提交于 2019-12-08 07:44:45
问题 So let me set up my scenario. I am using EGit 4.1.1 in Spring Tool Suite (Eclipse 4.5.1). My tech-savvy coworker and I have cloned the same git repository from a remote URL. My tech-savvy coworker, who prefers the command line, does his file modification using VIM, then issues the commands git add . git commit -m "Modified file" git push Now the change is in the remote repository. Now I, who am less CLI-prone and more prefer the GUI, am using EGit in Eclipse. To receive the change, I right

Creating a new remote repository from EGit

痞子三分冷 提交于 2019-12-08 03:54:44
问题 I want to share an Eclipse project over git (EGit). I successfully created a local repository for the project. I understand, that to add a remote repository, it must already exist on a remote machine. I succeeded adding an existing remote bare repository. Is there a way to automatically create a remote repository with EGit if it does not exist yet? In the end of the day, Eclipse uses the same SSH connection to connect to a remote server as I use to manually create a remote repository. Or am I

What does the error “EGit could not detect where Git is installed” mean?

妖精的绣舞 提交于 2019-12-08 00:11:47
问题 What does this error mean and how to resolve it? I am new to eclipse and I downloaded eclipse from a ftp from Japan and I don't know if I have downloaded all the necessary files. Have I missed anything? 回答1: Note that with Eclipse4.2 and EGit2.3, this warning will be more discrete and less "in your face": see bug 391377. Otherwise, this warning reminds you of setting how the eol (end of lines) should be treated when Egit checkout files on your computer. The goal would be to avoid " The Wall

import all branches from github

孤街醉人 提交于 2019-12-08 00:10:29
问题 I set up egit to work with my GitHub repo on my university computer. The repo has 5 branches including master and my local copy also has those branches so I can go to Team -> Switch to and select the desired branch in eclipse. On my laptop I set up Egit and cloned the repo. I selected all branches when importing however under Local in the git repositories tab it only has master, all the other branches are under Remote Tracking. If I switch to a Remote Tracking branch make a change, commit and