zoukankan      html  css  js  c++  java
  • GitHubDesktop权限问题解决办法

    Desktop对于管理仓库非常方便、实用

    很多人实用Desktop将仓库项目clone到本地

    但是更新后同步时出现了如下权限错误:

    Error

    Authentication failed. You may not have permission to access the repository or the repository may have been archived. Open options and verify that you're signed in with an account that has permission to access this repository.

    网上给出了两种解决办法:

    1.退出后重新登录

    2.设置项目repository settings改为https的远程url地址

    经过测试,发现这两种方式都没有起到作用

    于是我猜测可能是用户名密码没有保存

    github desktop目前版本不会提示输入用户名密码

    于是设置了项目的repository settings

    将remote repository设置成:https://注册名:密码@github.com/xmilt/xmilt.github.io.git

    才能正常pull和push等操作。

    (目前方式可能有本地泄露密码的风险,如果有更好的办法欢迎大家补充)

  • 相关阅读:
    TeX系列: tikz-3dplot绘图宏包
    TeX系列: MATLAB和LaTeX结合绘图
    Tex系列: pgfplots安装
    C 标准库
    C 标准库
    C 标准库
    C 标准库
    C 标准库
    C 标准库
    C 标准库
  • 原文地址:https://www.cnblogs.com/xmilt/p/9685225.html
Copyright © 2011-2022 走看看