新建的git,在git push的时候遇到了报错“fatal: I don't handle protocol 'git@http'” 网上搜这个错误基本都是“fatal: I don't handle protocol 'git@https'”的情况,最终在同事的帮助下解决: 解决办法: 打开.git/config 将[remote “origin”]选项下的url的值从git@http开头改为http开头,即去掉最前面的git@…
问题重现 新建的仓库,再把本地的代码往上push的时候Git提示 $ fatal: I don't handle protocol 'https' 问题分析 Git是支持https的,这点毋庸置疑,所以肯定不是Git的问题. 那问题可能出现在自己进行remote add的时候可能是Github仓库的地址出了问题. 解决方法 删除错误的Git仓库地址,重新添加即可 $ git remote rm origin $ git remote add origin yourURL…
一.背景说明 今天使用在Cygwin中git clone时报fatal: I don't handle protocol '​https',如下: 以为是Cygwin实现的git有点问题没太在意,换去cmd执行,但一样是报fatal: I don't handle protocol '​https' 而且有个Warning: Your console font probably doesn't support Unicode.又因此以为是字体问题 标题栏----右键----属性,将字体修改成仿宋…
输入: git pull origin master git报错提示 fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.   在网上找到的解决办法:重新输入一次: git remote add…
错误: fatal: https://github.com/TeaCodie/TeaCodie-Website.git/info/refs not found: did you run git update-server-info on the server 解决: cd 到你的项目/.git vim config 打开config文件 找到[remote "origin"] 查看上面的URL是否正确 修改保存即可 url =…
git提交代码出现错误fatal: Unable to create '项目路径/.git/index.lock': File exists. 具体出错代码如下: 具体原因不详,在stackoverflow上查找了很久,也不清楚原因,但是stackoverflow给出了解决的方法. 解决方法: 在当前项目下打开git bash,运行如下命令: rm -f ./.Git/index.lock 只为成功找方法.大胆的尝试,下一个fun就是你的fun!…
http://blog.csdn.net/pipisorry/article/details/46958699 冲突处理 git push冲突处理 git push时出现冲突:! [rejected]        master -> master (fetch first)error: failed to push some refs to 'git@github.com:pipilove/GitTest.git'hint: Updates were rejected because the…
错误信息: Failed to connect to repository : Command "C:/tools/Git/bin/git.exe ls-remote -h https:/XXXXX.git HEAD" returned status code 128:stdout: stderr: fatal: unable to access 'https://XXXXXX.git/': error setting certificate verify locations:  CA…
转载 git 提交解决冲突 http://www.cnblogs.com/qinbb/p/5972308.html   一:git命令在提交代码前,没有pull拉最新的代码,因此再次提交出现了冲突. error: You have not concluded your merge (MERGE_HEAD exists).hint: Please, commit your changes before merging.fatal: Exiting because of unfinished mer…
第一个问题:怎么也不能将自己本地仓库代码pull到GitHub网站上? git push origin master Warning: Permanently added 'github.com,192.30.255.112' (RSA) to the list of known hosts.To github.com:lanshanxiao/yunweather.git ! [rejected] master -> master (fetch first)error: failed to pu…