随笔分类 - git
摘要:问题描述 ssh具有-i选项,用于告知在验证时使用哪个私钥文件: -i identity_file Selects a file from which the identity (private key) for RSA or DSA authentication is read. The defa
阅读全文
摘要:在使用git时,通常是直接ssh-keygen生成默认秘钥.然后将共钥添加到远程仓库,就可以访问了. 但是,当我们有多个repository时,这种方式就不适用了,因为一个秘钥只能关联一个远程仓库. 如果想同时管理多个repository,这时就需要生成多个秘钥,然后配置秘钥和远程仓库的关联. 步骤
阅读全文
摘要:今天在git提交代码时一直报如下错误: Can't connect to any repository: https://gitee.com/xxxxxx(https://gitee.com/xxxx: Error writing request body to server) 后来经过谷歌发现是g
阅读全文
浙公网安备 33010602011771号