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

Update March 2014: As mentioned by cheshire’s answer, EGit 3.3 added that prune feature. You can see said feature introduced in this Gerrit code review in JGit (and tested here) The entry fetch.prune mentioned in git config can be added to your Egit configuration: Original answer (March 2013) EGit perform this pruning when remote tracking … Read more

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

In the Git Repositories view: Right-click the repository and choose Fetch from Upstream If the new branch will not shown up below Branches/Remote Tracking, you have to configure fetch: Right-click the fetch node below Remotes/origin and choose Configure Fetch… In the Configure Fetch make sure there is only the single Ref mapping (assuming the remote … Read more

Multiple Git repositories for each Eclipse project or one Git repository

It depends on how closely-related these projects are. Ask yourself the following questions: Will they always need to be branched/tagged together? Will you want to commit over all projects, or does a commit mostly only touch one project? Does the build system operate on all of them or do they have a boundary there? If … Read more

Storing credentials failed in fetch using EGIT

I had this same problem after updating egit. This advice from another forum worked: Open up Preferences > General > Security > Secure Storage. Select “OSX Keystore Integration”, then click “Change Password…” If you see a dialog saying “An error occurred while decrypting stored values… Do you want to cancel password change?” Click “No.” This … Read more

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

Says here that you can see the diffs between the working tree and any given reference. Perhaps you should try out the latest version (Juno) of Eclipse/EGit and see if it’s gotten any better? Update: I’ve tried this out in the latest Eclipse, and as far as I can see it works fine. Here’s how: … Read more

Eclipse EGit Checkout conflict with files: – EGit doesn’t want to continue

Situation: You have local uncommitted changes You pull from the master repo You get the error “Checkout conflict with files: xy” Solution: Stage and commit (at least) the files xy Pull again If automerge is possible, everything is ok. If not, the pull merges the files and inserts the merge-conflict markers (<<<<<<, >>>>) Manually edit … Read more