![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
for_kernel
这个作者很懒,什么都没留下…
展开
-
git给空目录添加文件
git 没有跟踪空目录,所以需要跟踪那么就需要添加文件,方法如下:find . -type d -empty -exec touch {}/.gitignore \;给所有的子空目录都添加gitignore文件;连接:http://stackoverflow.com/questions/115983/how-do-i-add-an-empty-directory-to-a-git-reposito转载 2015-10-28 12:03:10 · 3446 阅读 · 0 评论 -
Ubuntu 16.04搭建git服务器
一、安装Git服务器所需软件 终端输入以下命令: sudo apt-get install git-core openssh-server openssh-client python-setuptools git-core: git核心软件; openssh-server和openssh-client:git通过ssh协议在服务器与客户端之间进行数转载 2017-08-29 14:49:53 · 3126 阅读 · 0 评论