Forum: Ruby on Rails git push not working

Fcd2b2ca6e9b8c75069a291665869ab9?d=identicon&s=25 Natmanu (Guest)
on 2013-10-21 19:42
(Received via mailing list)
<https://lh4.googleusercontent.com/-IA0TutFw54A/UmV...
Hi again,

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

section
http://ruby.railstutorial.org/ruby-on-rails-tutori...

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
A025216602c301f31814e873900ed7b2?d=identicon&s=25 Jordan Miller (Guest)
on 2013-10-21 19:52
(Received via mailing list)
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 <natmanu@gmail.com> wrote:

<https://lh4.googleusercontent.com/-IA0TutFw54A/UmV...
Hi again,

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

section
http://ruby.railstutorial.org/ruby-on-rails-tutori...

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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk...
.
For more options, visit https://groups.google.com/groups/opt_out.
63d997b689b6877d3c8ade2082844a5a?d=identicon&s=25 Evaldo Santos (Guest)
on 2013-10-21 20:53
(Received via mailing list)
Fcd2b2ca6e9b8c75069a291665869ab9?d=identicon&s=25 Natmanu (Guest)
on 2013-10-21 22:08
(Received via mailing list)
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
Fcd2b2ca6e9b8c75069a291665869ab9?d=identicon&s=25 Natmanu (Guest)
on 2013-10-21 22:28
(Received via mailing list)
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
Aa082c8b00a50928e5860dcd70bf2368?d=identicon&s=25 tamouse m. (tamouse_m)
on 2013-10-22 12:28
(Received via mailing list)
Note that this is not the Git help list.

On Oct 21, 2013, at 3:27 PM, Natmanu <natmanu@gmail.com> 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.
E6c21b324e3728b81766d880aa066aa1?d=identicon&s=25 Saikiran Mothe (saikiranmothe)
on 2013-10-22 12:31
(Received via mailing list)
Hi Temple,

Try ::

git remote -v
git push -f
1a4ff0766a653c62e0dab34bacda9873?d=identicon&s=25 Norbert Melzer (Guest)
on 2013-10-22 20:17
(Received via mailing list)
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" <natmanu@gmail.com>:
1a4ff0766a653c62e0dab34bacda9873?d=identicon&s=25 Norbert Melzer (Guest)
on 2013-10-23 07:45
(Received via mailing list)
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" <natmanu@gmail.com>:
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.