Eclipse eGit push bug – SOLVED

After upgrading to Helios and therefore eGit 0.8.4, I could no-longer push to git repos using pre-configured remotes. Adding the same remote manually at time of push works, but is annoying. This is a known bug and is fixed in the code, but won’t be pushed out for the current 0.8 series (for some reason). The bug report has a simple work-around which fixes the problem. Simply edit your repo’s .git/config file and copy the url line and change it to pushurl – problem solved.

Update: Thanks to J Bruni’s comment, if you have a pushurl but not a url entry, do the reverse of above – copy pushurl and rename to url.

6 thoughts on “Eclipse eGit push bug – SOLVED

  1. Thanks, Chris,

    Your post helped me a lot.

    Curiously, I had the same symptom, but the “opposite” solution. 🙂

    When I opened .git/config to edit, “pushurl” setting was there… but the “url” setting was not!

    So, I just copied the “pushurl” line and changed it to “url” – problem solved.

  2. Glad it helped. There are a few annoying bugs in EGit at the moment, but hopefully they will be fixed with a new release soon! I hope… 🙂

  3. Hmm.. I haven’t used it in a while, so I’m not sure where it’s at. Perhaps you can check the upstream bug report status, and maybe add more details?


Leave a Reply

Your email address will not be published. Required fields are marked *