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”
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.
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… 🙂
I got this error when doing push
Can’t connect to any repository: http://hostname.com/test3.git (Can’t push to remote does not support smart HTTP push)
Anyone knows how to fix this?
I’m not sure about http based servers, sorry. Perhaps you can ask at the eGit bug tracker?
-c
Unfortunately pushurl not helped. I am using EclipseHelios with EGit. Pity!
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?
-c