将应用推送到 github 时出现问题。这是我在命令行中输入的。希望这只是一个小问题,我可以解决谢谢。
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:travi5567/first_app.git
git push -u origin master
这是我得到的错误:
Traviss-MacBook-Pro:sample_app Travis$ 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.