- remote: error: hook declined to update refs/heads/master
把第二个取消勾选
- gitee.com:mwangbuaa/simulation_group.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to ‘gitee.com:mwangbuaa/simulation_group.git’
hint: Updates were rejected because the remote contains work that you do
hint: not have local
添加公钥错误,需要使用右上角的添加个人公钥 才可以进行写操作。注意 需要把之前的密钥删除掉
- 查看id_rsa.pub
进入C盘下面的目录 找到.ssh
cd .ssh
ls
使用记事本打开id_rsa.pub 复制里面的密钥
4. Could not read from remote repository
https://www.bbsmax.com/A/gVdnmDRp5W/
这篇博客介绍的较好