Can't set up Git for some reason

Hi,

When I’m typing in

git remote add origin [email protected]:gabaluschi/first_app.git

i get…
fatal: remote origin already exists

and then when i type git push origin master,
after entering my passphrase, i get:
ERROR: gabaluschi/first_app.git doesn’t exist. Did you enter it
correctly?
fatal: The remote end hung up unexpectedly.

help?

Thanks!

On Mar 4, 11:26pm, Gaba L. [email protected] wrote:

Hi,

When I’m typing in

git remote add origin [email protected]:gabaluschi/first_app.git

i get…
fatal: remote origin already exists

That’s saying you’ve already added the remote. It looks like there’s a
typo there though, since it should be github.com (not github, unless
you’ve been messing around with /etc/hosts or your ssh config), which
may explain the second part. I’d try removing the remote & trying
again (although as Peter says, this is really a git question not a
rails one)

Fred

Quick look suggests you created a private repo:
https://github.com/gabaluschi/

Try your public repo first and make sure that is working:
git://github.com/gabaluschi/Gabaluschi.git

Also, this is a git question - not a Rails one. I’d check for support in
the git world first.

Best Wishes,
Peter

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs