git push报错的处理方法分享(fatal: unable to access……)
下文笔者讲述git push时,出现以下错误的处理方法分享,如下所示
解决方法
remote: Permission to testGit/test_album.git denied to test_name. fatal: unable to access ‘https://github.com/test_name/test_album.git/’: The requested URL returned error: 403
解决方法
修改本地仓库下 vim .git/config文件 修改 [remote "origin"] 原:url = https://github.com/test_java265/test_java265.git 修改为:url = https://test_java265@github.com/test_java265/test_java265.git -----当然,我们也可以生成密钥,然后配置github的deploykey处理此异常
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。