zoukankan      html  css  js  c++  java
  • Eclipse提交git代码 报错authentication not supported

    现象:

    使用Eclipse提交git代码,报错信息如下:

    Can't connect to any repository: https://github.com/InterFF/abc.git (https://github.com/InterFF/abc.git: authentication not supported)

    分析:

    以前是正常的能够正常使用,但是设置了双重身份认证登录git后,我的eclipse 每次提交代码就开始报错了

    解决:

    网上搜索的好多方法也不管用,基本上可以确定跟设置双重身份认证有关系,因此决定在官网上寻找答案,结果,皇天不负有心人,找到了解决方法。对于命令行访问方式创建个人访问令牌,提交时,使用用户名+令牌(密码)的方式就可以提交了。参考一下连接:

    https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line

    结论:

    解铃还须系铃人,有问题,一般官网上还是比较靠谱的。当然,也有其它的认证方式,使用SSH通道等,这个后期再探索吧。感觉还是使用https的方式导入下载更快捷(如果不设置双重认证)。
    ————————————————
    版权声明:本文为CSDN博主「InterFF」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
    原文链接:https://blog.csdn.net/u014128039/article/details/100539041

  • 相关阅读:
    RE
    【LeetCode】198. House Robber
    【LeetCode】053. Maximum Subarray
    【LeetCode】152. Maximum Product Subarray
    【LeetCode】238.Product of Array Except Self
    【LeetCode】042 Trapping Rain Water
    【LeetCode】011 Container With Most Water
    【LeetCode】004. Median of Two Sorted Arrays
    【LeetCode】454 4Sum II
    【LeetCode】259 3Sum Smaller
  • 原文地址:https://www.cnblogs.com/xiadongqing/p/12852243.html
Copyright © 2011-2022 走看看