Created
December 3, 2015 02:42
-
-
Save keita03301995/9f35e18f5bbe48c10397 to your computer and use it in GitHub Desktop.
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
[keita@ip-172-31-28-2 hello_app]$ echo "# hello_app" >> README.md | |
[keita@ip-172-31-28-2 hello_app]$ git init | |
Reinitialized existing Git repository in /home/keita/workspace/hello_app/.git/ | |
[keita@ip-172-31-28-2 hello_app]$ git add README.md | |
[keita@ip-172-31-28-2 hello_app]$ git commit -m "first commit" | |
[master 5f21d58] first commit | |
1 file changed, 1 insertion(+) | |
[keita@ip-172-31-28-2 hello_app]$ git remote add origin git@github.com:keita03301995/hello_app.git | |
fatal: remote origin already exists. | |
[keita@ip-172-31-28-2 hello_app]$ git push -u origin master | |
Permission denied (publickey). | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. | |
解決方法をググっても git remote rm で消せというものしかなく、消して何回か試したのですがこのエラーがでます;; | |
やりたいことは、「自分のgithubアカウントのレポジトリにhello_appを作る」 ということです |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment