Created
March 14, 2011 09:31
-
-
Save gonzalo123/868939 to your computer and use it in GitHub Desktop.
push existing repository to github
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd existing_git_repo | |
git remote add origin git@github.com:[user]/[reponame].git | |
git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Serhioromano,
Very old question, but I believe it may help others with same issue...
I believe you are trying to set your "origin" as SSL (based on the format of the link, which looks like is git@github.com:[useraccount]/[repositoryname].git). For you to use SSL you need to create a Secure Key, then install it in your system, so the "origin" will be able to recognize you when you try to use it.
Here more info: https://help.github.com/articles/which-remote-url-should-i-use/
You can try to create the KEY and use SSL (strongly recommended) or you can use HTTPS instead. You can get the link of the HTTPS in the button "clone or download" at your repository main page. Simply chose "Use HTTPS".
I hope it helps.