Tag: eclipse

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 that I have to pull first. When doing the pull, an EGit exception is thrown: […]

“Invalid project description”, importing from GIT repo problem

After copying my GIT repo from a PC computer onto my MAC, i can’t seem to import it to an eclipse. Import happens via eGit plugin directly from existing local git repository. Same exact import works perfectly fine on existing Windows computer. Please advise. org.eclipse.core.internal.resources.ResourceException: Invalid project description. at org.eclipse.core.internal.resources.Project.checkDescription(Project.java:162) at org.eclipse.core.internal.resources.Project.assertCreateRequirements(Project.java:52) at org.eclipse.core.internal.resources.Project.create(Project.java:274) at […]

Bitnami GitLab 5.0 and git & Eclipse EGit quick start

We have just set up GitLab 5.0 using Bitnami stack and need quick start. By Bitnami default SSH is disabled. That is OK with me, I’d prefer use HTTP. But it seems that GitLab 5.0 doesn’t smoothly support HTTP. For example on project page, when switching to HTTP option, help below is not updated. […]

Using native git not jgit in Eclipse git?

Is there any way to configure egit to use your native (OS) git and not the jgit implementation? If not, are there any alternative git Eclipse plugins? EDIT #1 – I should note, AWS CodeCommit uses a credential helper for auth, from .gitconfig: [credential] helper = !/usr/local/bin/aws –profile CodeCommitProfile codecommit credential-helper $@ UseHttpPath = true […]

How Do I Upload Eclipse Projects to GitHub?

I have code in Eclipse that I’d like to upload to GitHub but so far I can’t figure out how. It says “create a repository” but that looks more like a folder that holds your projects and I’m not sure how to upload my code to it. Apologies for the seemingly dumb question. Also, how […]

Eclipse + Git – what does “staged” mean?

After working for some time with SVN I decided to try git with my new django project and installed the plugin for it into eclipse. I made a new pydev project and added django initial project files to the src directory. Then I “shared” the project to Git, added and commited all files. Now I […]

Should I store git repository in Home or Eclipse Workspace?

I’m just moving from svn to git, and am keen to lay some good foundations. By default Eclipse wants to store my local clone repository in ~/git. I’m more comfortable keeping all data for a task in the same workspace – so I’m inclined to keep it in my workspace. Are there any significant pros/cons […]

can't push upstream using EGit

I use EGit in eclipse to pull and push. my config is: [remote “origin”] fetch = refs/heads/*:refs/remotes/origin/* push = refs/heads/*:refs/remotes/origin/* local branch is master Remote Tracking branch is origin/master when I do push, it comes out “origin/master:master[up to date]”. Actually the remote branch is not up to date. I wander if I configure the wrong […]

How make Eclipse/EGit recognize existing repository information after update?

After upgrading Eclipse from Helios to Indigo with EGit plugin 1.0.0, all my projects seem to have lost their metadata about their git repositories, respectively. In Helios, every Eclipse project was a git repository on its own. When updating to Indigo, i hoped i could continue using the workspace from Helios. After the update, all […]

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 error: https://github.com/biunlp/nlp-lab.git: not authorized I had no chance of entering my username […]

Git Baby is a git and github fan, let's start git clone.