zoukankan      html  css  js  c++  java
  • git clone --early EOF

    出现这个问题可能需要重新检查以下方面:

    1. Android studio Git 的安装地址:  ..../Git/cmd/git.exe

    记得在环境变量 --Path 中进行配置: ,..../Git/cmd

    2. ssh 连接 github

    进入 git 的安装目录下右键运行 Git_Bash,然后按照下面博客进行操作

    http://blog.csdn.net/binyao02123202/article/details/20130891

    3. 在输入 $ ssh -T git@github.com 命令测试 SSH KEY 时,如果出现以下错误:

    no such identity: /c/Users/Administrator.PC-201608030926/.ssh/id_rsa.github:

    需要在 C:UsersAdministrator.PC-201608030926.ssh 目录下添加 config 文件(如果存在的话直接修改)

    在 config 文件中添加以下内容(id_rsa 为所生成的 SSH Key 文件名):

      Host github.com www.github.com
          IdentityFile ~/.ssh/id_rsa
    
      Host git.company.com
          IdentityFile ~/.ssh/id_rsa
    

    出现 Permission denied (publickey),是由于多 SSH Key 导致的,也可以通过以上方法设置

    4. 将 SSH Key 添加到 github 上

    http://blog.csdn.net/vipzjyno1/article/details/22098621

    5. ssh-add ~/.ssh/rsa 时报错:Could not open a connection to your authentication agent

    先执行  eval `ssh-agent`  (是~键上的那个`) 再执行 ssh-add ~/.ssh/rsa成功
    ssh-add -l 就有新加的rsa了

  • 相关阅读:
    图论初步
    分块和块状链表
    线段树入门
    ST表与树状数组
    [luogu P1312]Mayan游戏
    [luoguP4139]上帝与集合的正确用法


    电解质
    无机盐
  • 原文地址:https://www.cnblogs.com/zhy7104/p/6259058.html
Copyright © 2011-2022 走看看