Git push not working

https://lh4.googleusercontent.com/-IA0TutFw54A/UmVnJwi7CHI/AAAAAAAAAzg/fEZFf_kHsug/s1600/git.gif
Hi again,

I’m working on http://ruby.railstutorial.org

section

I’m trying to push the repository to the remote site but what ever I
fials.
I’ve updated, removed the s of the https etc but still can not push.
using
command

when I use command:

$ git remote add origin https://github.com/natmanu/demo_app.git$ git
push -u origin master

it then requests my email and password then returns an error. please
see attached screen shot for error.

tia
Nat

follow the tutorial on github first for how to create a repo and push to
it
from your computer for the first time.

jordan

On Oct 21, 2013, at 1:42 PM, Natmanu [email protected] wrote:

https://lh4.googleusercontent.com/-IA0TutFw54A/UmVnJwi7CHI/AAAAAAAAAzg/fEZFf_kHsug/s1600/git.gif
Hi again,

I’m working on http://ruby.railstutorial.org

section

I’m trying to push the repository to the remote site but what ever I
fials.
I’ve updated, removed the s of the https etc but still can not push.
using
command

when I use command:

$ git remote add origin https://github.com/natmanu/demo_app.git$ git
push -u origin master

it then requests my email and password then returns an error. please
see attached screen shot for error.

tia
Nat


You received this message because you are subscribed to the Google
Groups
“Ruby on Rails: Talk” group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/75ab27f0-09e5-45b0-a6df-7c381a0e0f5e%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.

Thanks for the replies.

The problem is that I have already pushed once and it worked well.

https://github.com/natmanu/first_app

after this I installed heroku. I think heroku (ON WINDOWS ) also
installed
a git so maybe there’s a conflict. but I dotn know where to start
looking
for conflict.

Cheers
Nat

Follow this tutorial:

Hi,

More info:

In my .ssh directory on windows, I have 2 SSH public keys

github_rsa
github_rsa.pub
id_rsa
id_rsa.pub

And on my remote Git I have only one key. Can I add two SSH to github?

or can I call git and specify which key to use for authentication???

Nat

Hi Temple,

Try ::

git remote -v
git push -f

I have plenty of ssh keys at github. One foe each of my PCs, one for my
server, and every PC has at least 2 operating systems which have it’ its
own key each.

They never interfered each other.
Am 21.10.2013 22:27 schrieb “Natmanu” [email protected]:

You should not use HTTPS for push, delete that remote and add it again
using ssh protocol!
Am 21.10.2013 19:41 schrieb “Natmanu” [email protected]:

Note that this is not the Git help list.

On Oct 21, 2013, at 3:27 PM, Natmanu [email protected] wrote:

And on my remote Git I have only one key. Can I add two SSH to github?

You can have many many ssh keys on your github account. I have for each
box (real and virtual) I work on, and the various test and deployment
servers.