新建仓库或者拉取仓库下来出现想提交代码出现以下错误:

    1. remote: Access denied
    2. fatal: unable to access 'github地址': The requested URL returned error: 403

    cmd输入

    1. rundll32.exe keymgr.dll,KRShowKeyMgr

    出现以下对话框
    image.png
    添加处添加自己的github/gitee账号和密码

    再打开项目的git文件夹找到config文件:
    image.png
    找到这个文件打开
    image.png
    原来是这种形式的:

    1. url=https://gitee.com/用户名/项目名.git