Hi all,

I had recently installed git and this is my first time using git.
I have a rails project which I want to commit into git.

When I try to do a "sudo git push origin master", i get this error
"ssh: could not resolve host name "

i googled and i see a lot of people ask to check for ~/.ssh/config
file

but i couldn't find the config file in .ssh dir

my .ssh is installed in /home//.ssh
and there is no config file in it.
there are thee other files though namely, id_rsa, id_rsa.pub and
known_hosts

Please let me know how to fix this error.

Also, i see a lot of people asking me not to use sudo, but the command
don't run without sudo. so let me know if you have a way out to not to
use sudo.
I'm using ubuntu lucid 10.04 /apache2/rails recent stack running in a
vbox.

thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.

Reply via email to