在GitBush中向已經存在的Repository提交README.md修改。命令如下:
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin
[email protected]:yunfuyiren/Test.gitgit push -u origin master出現如下錯誤:
![]()
找了半天原因原來是沒有安裝SSH Key。
首先需要在客戶端上安裝SSH Key,此外還需要在遠程github服務端,個人設置中添加SSHKey。
具體操作步驟如下帖: