1、在gitee上用新建了倉庫,都是默認設定,復制了ssh地址[email protected]:aaa/bbb.git ,在本地代碼路徑下按照下面順序操作
git init -> git add remote origin [email protected]:aaa/bbb.git->git add .->git commit -> git push origin master
報錯
Access deined: You do not have permission push to this repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
3、 ssh測驗正常 說明key沒問題?
ssh -T [email protected]
You've successfully authenticated, but GITEE.COM does not provide shell access.
git remote -v 顯示正常
origin [email protected]:aaa/bbb.git (fetch)
origin [email protected]:aaa/bbb.git (push)
4.、切換至本地另一倉庫,可以正常push
請各位幫忙看看啊 十分感謝!
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/96512.html
標籤:版本控制
