Written by pjkui
on 2020-06-08 15:06:29. Posted
in 嵌入式系统
| 1 分钟 min read
| 1,929 views
有时候会因为各种我们需要把代码同步到多个版本库,比如国内的一般会有两个代码仓库,一个是github,一个是gitee。有时候我们还会用到阿里云和腾讯云的代码库。如果我们用git remote add的命令我们将会添加四个代码仓库。比如我们先添加github:
git remote add github https://github.com/test/test.git
然后依次添加gitee,aliyun,
git remote add gitee htt...
Written by pjkui
on 2020-04-09 17:04:55. Posted
in 操作系统
| 1 分钟 min read
| 1,526 views
linux使用git克隆代码的时候有时候会遇到fatal: Unable to find remote helper for 'https'这种错误。
这种错误的原因是编译git的时候系统没有安装curl_devel。
解决方法:
1.安装curl_devel
yum install curl-devel
2.重新编译git
$ ./configure
...
Written by pjkui
on 2020-03-27 21:03:00. Posted
in 编程技术
| 1 分钟 min read
| 2,551 views
For Git Bash, this can be fixed by adding the following line to ~/.bashrc:
export TERM=cygwin
-or-
export TERM=msys
The first seems to be the original by git for wind...