Questions tagged [egit]

For questions about the EGit Eclipse plugin for the Git version control system.

EGit is an plugin for the version control system built on top of , the Java implementation of Git.

enter image description here

1440 questions
14
votes
2 answers

What files should be committed to github for an eclipse project

What files should I commit to github so that its a valid Eclipse project ? I am just committing my source files and packages but when I try to re-create the project I receive this error 'no projects found' : I think I need to also commit the…
blue-sky
  • 51,962
  • 152
  • 427
  • 752
13
votes
3 answers

Add GitLab private repository as Maven dependency

I have a private repository in GitLab (it's in a group, and I have a Developer role) which I want to add as a dependency for my Maven project. I've been looking for a while and all I found was that I have to add the following to my…
Priv
  • 812
  • 2
  • 9
  • 23
13
votes
3 answers

How do you do merges using Git, Eclipse and Egit

I, like many others, love Eclipse as my ide of choice, and because of the way I work (moving about, different places, different projects) want to use Git for CVS. There is a plugin for Git in Eclipse, Egit, which is now an official Eclipse project,…
PaulHurleyuk
  • 8,009
  • 15
  • 54
  • 78
13
votes
1 answer

Can Install EGit: Missing requirement: Git Team Provider Core

So I am using Coldfusion Builder with Ecplise. I am trying to get EGit installed in it so I can do Git stuff. The only thing I can ever get installed is EGit 0.11.1 from http://download.ecplise.org/releases/helios/. When I try to install the latest…
Leeish
  • 5,203
  • 2
  • 17
  • 45
13
votes
8 answers

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

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…
Mark Tielemans
  • 1,528
  • 3
  • 20
  • 40
13
votes
2 answers

EGit showing directory as always dirty

I started using EGit with eclipse and one of my directories (which contains many submodules and regular directories) always shows as dirty. I have tried to git reset --hard and re-create the project from scratch. If I select the directory and…
Andy Shinn
  • 26,561
  • 8
  • 75
  • 93
13
votes
5 answers

"Invalid remote: origin" error when importing to Eclipse (m2eclipse, eGit)

In Eclipse when I try to import a project from a repository (File > Import > Maven > Check out Maven Projects from SCM) I select 'git' (eGit installed), fill in the ssh://... address (all the keys and access permissions are set), finally type in the…
alex
  • 10,900
  • 15
  • 70
  • 100
12
votes
4 answers

Egit shows all files as changed

I'm working with Git on my Windows 7 PC on the command line and with TortoiseGit. This works fine. Now I've installed EGit for Eclipse. EGit is showing all files as changed although git status correctly reports, that there are no changes. Any idea…
BetaRide
  • 16,207
  • 29
  • 99
  • 177
12
votes
4 answers

Eclipse + Maven + Git + Multi-Module projects = Unhappiness

We've got a multi-module project using Eclipse and Maven. The only way I could get it to work in the past was to use a flat layout for the projects, where the parent module was a peer to the other modules. This worked fine with m2eclipse and…
ccleve
  • 15,239
  • 27
  • 91
  • 157
12
votes
1 answer

How to use Git worktrees with Eclipse IDE?

I am moving a large application from SVN to Git while only having read "pro Git" and some worktree details online and played around with Git. I created a single repository that manages the code of my application. My application consits of a lot of…
Martin
  • 607
  • 1
  • 8
  • 17
12
votes
1 answer

How do I setup my Git repositories for Android development in Eclipse?

I need some help with properly versioning my Android project with Git/Eclipse. I have no problem setting this up with a single Android project. However, I am trying to figure out the proper and correct way to set this up, if I add one or more third…
azgolfer
  • 15,087
  • 4
  • 49
  • 46
12
votes
5 answers

Eclipse Git (Egit) not accepting remote username and password

Why doesn't Egit accept username and password when fetching from remote? These are the steps I follow: In Git Repositories view I expand Project -> Remotes -> origin Right click on origin -> fetch Login mask appears; I insert User and…
Luke
  • 1,633
  • 3
  • 23
  • 37
12
votes
3 answers

EGit: cannot push, cannot pull

I'am using EGit and I commited a change to my local git repository. I'd like to push this change to a remote. When doing that, a dialog screen pops up which shows "rejected-master-master-non-fast-forward". The answer of this linked question states…
MRalwasser
  • 15,605
  • 15
  • 101
  • 147
12
votes
1 answer

Are gitignore files being automatically created in my project?

I have been trying to manage the local copy of the project I am working on using EGit. I make a pull once there is a push from the other guys. However, there are files that show that I have uncommitted changes in my local repository, but I haven't…
SyCode
  • 1,077
  • 4
  • 22
  • 33
12
votes
2 answers

Git color code for contributor page

I was wondering what these colors green and red signify! Also what is this '++' besides green colored number for? Thanks, Before you down-vote this question, please look at this link What are the green and red gems beside Github Gist Revisions …
Tintin
  • 2,853
  • 6
  • 42
  • 74