On Jun 14, 7:12 pm, Travis Hoffman <travis.a.hoff...@gmail.com> wrote:
> I'm a n00b with git (but experienced with cvs and svn); I'm still
> trying to figure out how to push my local git repository changes to
> the fork I created on github. Can anyone help me there?
>
> The fork on git-hub is:
>
> git://github.com/travis-a-hoffman/clojure.git
>
> I created a branch locally "complex_type", and have done git commit -a
> with my changes. I can't, however, seem to push my changes back to
> github:
>
> ~/Projects/HackingClojure/workspace/clojure> git push
> fatal: remote error:
>   You can't push to git://github.com/travis-a-hoffman/clojure.git
>   Use g...@github.com:travis-a-hoffman/clojure.git

This is because you're trying to push to the read-only URL.

> Using  the recommended doesn't help:
>
> ~/Projects/HackingClojure/workspace/clojure> git push
> g...@github.com:travis-a-hoffman/clojure.git
> Permission denied (publickey).
> fatal: The remote end hung up unexpectedly

Looks like you haven't given permission for your SSH key on the github
site. Go to your Account Settings -> SSH public keys and add your
public key there. It should be in ~/.ssh/id_rsa.pub, if not, make one
first with ssh-keygen

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to