yjxjn
V2EX  ›  问与答

SourceTree for Mac 推送的时候一直让输入密码

  •  
  •   yjxjn · Oct 15, 2016 · 2898 views
    This topic created in 3672 days ago, the information mentioned may be changed or developed.

    https://segmentfault.com/q/1010000000336412

    找到了一个案例,貌似是 SSH key 密钥没有找到,但是我去看了一眼我的密钥,都是存在的,网上提供的解决方法都是 Windows 下面的,还是没有解决这个问题。

    QQ20161015-0@2x.png QQ20161015-1@2x.png QQ20161015-2@2x.png

    求帮忙解决,谢谢

    6 replies  •  2016-10-17 20:50:18 +08:00
    PopeyeLau
    PopeyeLau
    Oct 15, 2016 via iPhone
    1
    gitconfig 的 user.name 不一样?
    yjxjn
    yjxjn
    OP
    Oct 15, 2016
    2
    @PopeyeLau 不应该啊,但是我用 cmd 推送和拉取都是可以操作的,捣鼓好半天了,我在 Windows 下安装了 sourcetree 缺没有遇见这个问题。
    icodesign
    icodesign
    Oct 15, 2016❤️1
    3
    仓库的地址改为 git@...
    PPTing
    PPTing
    Oct 15, 2016 via Android
    4
    是不是升级到 macOs 导致的?
    lvye
    lvye
    Oct 15, 2016❤️1
    5
    把远端仓库改成 [email protected]:xxx/xx.git 试试
    以前还遇到这种情况是把 GitHub 登录改成了二步验证,那么输入的密码应该是 Personal access token
    yjxjn
    yjxjn
    OP
    Oct 17, 2016
    6
    @lvye 改为 SSH 连接好了。。。。 Mac 版本太坑了, Windows 没遇见这情况。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5191 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 06:32 · PVG 14:32 · LAX 22:32 · JFK 01:32
    ♥ Do have faith in what you're doing.