どんな助けでも素晴らしいでしょう。前もって感謝します!
gitをインストールし、sshキーを設定しましたが、この奇妙なエラーが発生します。
admin@Administrators-MacBook-Pro:~/Desktop$ cd exercise/
admin@Administrators-MacBook-Pro:~/Desktop/exercise$ git init
Initialized empty Git repository in /Users/admin/Desktop/exercise/.git/
admin@Administrators-MacBook-Pro:~/Desktop/exercise$ git remote add origin git@github.com:pavankat/exercise.git
admin@Administrators-MacBook-Pro:~/Desktop/exercise$ git push origin master
error: src refspec master does not match any.
error: failed to push some refs to 'git@github.com:pavankat/exercise.git'
admin@Administrators-MacBook-Pro:~/Desktop/exercise$ git push git@github.com:pavankat/exercise.git HEAD:test
fatal: remote part of refspec is not a valid name in /
admin@Administrators-MacBook-Pro:~/Desktop/exercise$ git push git@github.com:pavankat/exercise.git HEAD:test
error: src refspec HEAD does not match any.
error: failed to push some refs to 'git@github.com:pavankat/exercise.git'
admin@Administrators-MacBook-Pro:~/Desktop/exercise$