最近新建了一個項目 把代碼放到gitee上面去
使用git上傳的時候
按照流程創(chuàng)建了文件 修改了配置
git pull 的時候正常
Already up to date
已經(jīng)是最新的
但是git push的時候
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
原因是因為配置公鑰的時候在項目中配置了 但是沒有在個人設(shè)置里面配置 這就導(dǎo)致了 gitee找不到你的公鑰
從而判斷你沒有權(quán)限