
git
air5005
希望能记录工作中学习到的所有知识,与大家分析、一起学习
展开
-
解决git在win下无法clone linux内核源码的问题
解决git在win下无法clone linux内核源码的问题step 1 :初始化空库mkdir linux cd linuxgit init #初始化空库 step 2 : 拉取remote的all objects信息git remote add -f origin git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git拉取remote的all objects信息开启sparse clone,设置需要pull的目原创 2020-06-28 08:49:04 · 2618 阅读 · 2 评论 -
git管理仓库搭建
用gogs搭建属于自己的git网站gogs是一款极易搭建的自助 Git 服务, 掌握了它, 我们就可以搭建自己的git服务站点gogs官网, github中文地址安装dockerdocker安装教程参考链接下载gogs的docker镜像docker pull gogs/gogsych@~$docker pull gogs/gogsUsing default tag: latestlatest: Pulling from gogs/gogscbdbe7a5bc2a: Pull compl原创 2020-06-27 16:45:02 · 264 阅读 · 0 评论 -
git之解决git pull发生的冲突
git之解决git pull发生的冲突我们在git pull代码的时候,经常遇到以下情况$git pullUpdating 05e89f5..6ed5776error: Your local changes to the following files would be overwritten by merge: core/service/common/comm_msg.h core/...原创 2019-03-05 10:38:05 · 2296 阅读 · 0 评论