git clone http方式
来源:互联网 发布:人员档案管理系统源码 编辑:程序博客网 时间:2024/05/21 06:36
在使用 git clone http://10.0.13.2/project 时系统提示如下图所示错误
The requested URL returned error: 401(curl_result = 22, http_code = 401 ....)
从http_code = 401 可以看出是因为authorization的问题,虽然已经提示了输入username和password,但在多次获取时并未将之前录入的username和password保存下来。
解决办法有二:
一、在$HOME下创建 _netrc文件,在其中写入如下内容
machine 10.0.13.2
login your_username
password your_password
二、在执行命令式直接提供username和password,如下
将git clone http://10.0.13.2/project 替换成
git clone http://username:password@10.0.13.2/project
- git clone http方式
- git clone 命令行http代理设置
- git clone 时遇到fatal http request
- Git svn clone的方式使用SVN
- git clone
- git clone
- git clone
- git clone
- git clone
- git clone
- git clone
- git clone 的时候 fatal: Authentication failed for "http://......"
- linux ubuntu 12.04 搭建git服务器:ssh方式clone
- Android 源码下载方法(Git 方式clone)
- git init & git clone
- 【git】用http协议git clone代码出现fatal: I don't handle protocol
- git http/https方式储存密码
- 基于http方式的git服务器搭建
- 输入十个数字,然后逆序输出
- js自执行函数的定义
- Error starting static Resources:* does not exist or is not a readable directory
- poj 1338 Ugly Numbers【终极打表】
- WPF 控件的隐藏及ToggleButton对控件高度的控制
- git clone http方式
- cocos2d-X 节点(CCSprite.h)API
- 为 pandaboard 搭建 gtk+ 环境
- 使用Qt编写模块化插件式应用程序
- C# Hadoop学习笔记(九)—C#的分布式计算简单类图
- select into from 和 insert into select 的区别和使用
- 大学计划
- 关于工作的意义的思考
- poj2182Lost Cows(线段树,单点更新,输入的是每个点的逆序数,求出原序列)