java_mouse
java_mouse

Reputation: 2109

git command line

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?

Upvotes: 1

Views: 357

Answers (1)

VonC
VonC

Reputation: 1323145

"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%.

Upvotes: 3

Related Questions