1

I have been using eGit for eclipse so I do not know much about how to use git command line.

Now I got into some issue with eGit and would like to use native git commands to push and pull the updates.

So I opened the git bash and and typed $ git pull

$ git pull error: refs/remotes/origin/master does not point to a valid object! error: refs/tags/v2.0.2.84 does not point to a valid object! Permission denied (publickey). fatal: The remote end hung up unexpectedly 

What am I missing here?

2
  • 2
    you're probably in the wrong directory. Commented May 7, 2012 at 21:34
  • 2
    Are you going to tell us what it says or are we guessing? ;) Commented May 7, 2012 at 21:37

1 Answer 1

3

"Permission denied (publickey)": don' t forget that EGit defines where to find your public/private ssh key (from Egit user guide):

EGit ssh config

In a git bash, you need to make sure your id_rsa(.pub) files are under $HOME/.ssh.
If it is a msysgit Windows cmd shell, you need to define %HOME%.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.