git - eclipse GTS Invalid remote: origin -


i have been trying many months go eclipse, of sort, work git hub. have git bash installed, works, have tortoise git installed, works also. have putty, , use pageant load ssh key.

i'm using gts (grails) version of eclipse. when import existing project cloned tortoise git, picks git details. when try fetch or pull or push within eclipse, says:

invalid remote: origin

googling this, people ssh config issue. article: http://www.bashedupbits.com/2013/04/fixing-ssh-connection-problems-in-egit.html has potential solution, when bit when says connect using putty git@github.com, putty session dies, cant further. have key loaded in pageant.

git command line, , tortiose git work perfectly.

any ideas?

git_ssh=c:\program files\tortoisegit\bin\tortoiseplink.exe

i tried converting putty ppk openssh type key, , "added" in preferences->general->network connections->ssh2->"add private key". didnt help.

in

preferences->team->git->configuration->"repository settings" 

i see:

remote   origin      fetch: +refs/heads/*:refs/remotes/origin/*      puttykeyfile: c:\users\me\my.ppk      url: git@github.com:myco/myproj.git 

not sure else can done?

here partial answer: ssh engine may part of problem. can switch engine ggts using setting git_ssh environment variable before eclipse starts.

another alternative since eclipse has commit against local repository first, stick local stuff in eclipse , run remote push command line when done.

intellij good, ggts fine developing grails applications. don't know why folks religious choices. there points in ggts not published anybody. check blog post "grails & sts: avoiding build problems" @ askjoelit.com.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -