git 推送 问题

  1. remote: error: hook declined to update refs/heads/master
    把第二个取消勾选
    在这里插入图片描述
  2. 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
    添加公钥错误,需要使用右上角的添加个人公钥 才可以进行写操作。注意 需要把之前的密钥删除掉
    在这里插入图片描述
  3. 查看id_rsa.pub
    进入C盘下面的目录 找到.ssh
cd .ssh
ls

在这里插入图片描述
使用记事本打开id_rsa.pub 复制里面的密钥
4. Could not read from remote repository
https://www.bbsmax.com/A/gVdnmDRp5W/
这篇博客介绍的较好

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值