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
53
votes
3 answers

How do I set up Eclipse/EGit with GitHub?

I've never used Git before and would like to learn. I have a private repository with GitHub. I've installed the EGit plugin for Eclipse. I have a workspace where I do my work, generally: ~/Documents/workspace. I am able to add my GitHub repository…
john
  • 33,520
  • 12
  • 45
  • 62
50
votes
7 answers

egit - not authorized

I just connected to GIT from Eclipse Juno using EGit, and successfully cloned a certain remote repository. During the clone I entered my Github username and password, but chose not to save them. Then I tried to "Fetch from Upstream". I got this…
Erel Segal-Halevi
  • 33,955
  • 36
  • 114
  • 183
49
votes
1 answer

EGit and Eclipse modifies .gitignore file but it should not

I'm using Eclipse and EGit, but Eclipse modifies my .gitignore file without me asking to do so. As soon as I open Eclipse the .gitignore file is modified. I've added some folders to .gitignore (through EGit) but removed them after, but Eclipse keeps…
Jeff
  • 979
  • 3
  • 10
  • 18
49
votes
3 answers

How to make a simple revert work on Git / EGit?

Ok. Simple things should be simple, so I hope it is. :) I have changed a file, now I want to revert back to the latest version in the git repo because my changes are crap and I want to start fresh again changing the file. As far as I am concerned…
JohnPristine
  • 3,485
  • 5
  • 30
  • 49
48
votes
10 answers

Eclipse EGit Checkout conflict with files: - EGit doesn't want to continue

I've started Eclipse EGit. In some scenarios it is really not comprehensive. I have local file e.g. pom.xml changed. On git server this file was changed. I do pull, EGIt says: Checkout conflict with files: i.e. pulling stops (fetch is done, but…
Paul Verest
  • 60,022
  • 51
  • 208
  • 332
47
votes
3 answers

Eclipse and EGit: How to easily review changes to ALL modified files before committing to *local* repository

I'm using Eclipse Indigo SR2 with the (built-in) EGit plugin v.1.3.0.201202151440-r and haven't been able to find any way to easily review all my changes before making a commit. I used Eclipse with SVN for years, and this was always very easy to do.…
Lambart
  • 1,985
  • 2
  • 21
  • 37
46
votes
2 answers

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

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,…
JamesG
  • 4,288
  • 2
  • 31
  • 36
45
votes
6 answers

Storing credentials failed in fetch using EGIT

Initially I had the same problem as described in egit - not authorized. First, I successfully cloned the repository from Bitbucket. Then, I tried to fetch and got the error “not authorized” However, when I used the advice and clicked “Change…
Alex
  • 7,007
  • 18
  • 69
  • 114
44
votes
5 answers

Multiple Git repositories for each Eclipse project or one Git repository

I am in the process of moving to Git from SVN. In SVN I had multiple eclipse projects in a single SVN repository that is convenient for browsing projects. I was going to move to having one git repository per eclipse project but EGit suggests doing…
Codey McCodeface
  • 2,988
  • 6
  • 30
  • 55
43
votes
6 answers

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

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…
Robert
  • 39,162
  • 17
  • 99
  • 152
40
votes
5 answers

How do I get a new branch to show up in Eclipse Git Remote Tracking?

I have an existing Eclipse git project, with a master and development branch present in both local, and remote tracking. I have just added a new branch in my git repository, but I can't figure out how to get it to show up in Eclipse. I have tried to…
jumps4fun
  • 3,994
  • 10
  • 50
  • 96
39
votes
3 answers

EGit: Pruning Remote Tracking Branches that have been Deleted on the Remote Repo

I'm using EGit (for Eclipse) with a team of devs. We have been creating a lot of feature and fix branches for new work, and then merging them into our release branches when they are completed. Right after they are merged into the correct release…
Steven Byle
  • 13,149
  • 4
  • 45
  • 57
39
votes
15 answers

Strange xml error: Incorrect line ending

I haven't used Eclipse since 1 week ago. Today I started it and I noticed that it loaded slowly. When it was started it prompted this: http://tinypic.com?ref=2zpk1g2" target="_blank">
Learning from masters
  • 2,032
  • 3
  • 29
  • 42
36
votes
1 answer

How can I make the Mylyn GitHub Connector for Eclipse run authenticated requests?

I'm using the very cool Github Mylyn Connector for Eclipse Indigo. However, since I use it for many projects on GitHub, I run very quickly into the 60 requests per second rate limit enforced on unauthenticated requests against the GitHub v3 API. The…
Francois G
  • 11,957
  • 54
  • 59
35
votes
3 answers

What's the difference between "Push..." and "Push to upstream..." in Eclipse

When using "Push to upstream..." in Eclipse, the new "local" commits are pushed to remote repository and the remote branch ref is updated in the local repository (so master and origin/master reference the same commit). When using "Push..." and…
Florent Paillard
  • 549
  • 1
  • 6
  • 20
1
2
3
95 96