![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
文章平均质量分 74
狂奔的CD
这个作者很懒,什么都没留下…
展开
-
linux上搭建git服务器之5(git服务器)
文章目录正文1 协议2 建造一个基于ssh的git服务器正文参考 https://git-scm.com/book/zh/v2/%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%8A%E7%9A%84-Git-%E5%8D%8F%E8%AE%AE1 协议1)本地协议克隆一个本地版本库,可以执行如下的命令:$ git clone /srv/git/project.git或你可以执行这个命令:$ git clone file:///srv/git/project.git原创 2021-06-02 15:11:36 · 159 阅读 · 0 评论 -
linux上搭建git服务器之3(git远程仓库)
正文参考 https://git-scm.com/book/zh/v2/Git-%E5%9F%BA%E7%A1%80-%E8%BF%9C%E7%A8%8B%E4%BB%93%E5%BA%93%E7%9A%84%E4%BD%BF%E7%94%A81 查看远程仓库git remotegit remote -v2 添加远程仓库运行 git remote add 添加一个新的远程 Git 仓库git remote add pb https://github.com/paulboone/tic原创 2021-06-02 14:25:49 · 128 阅读 · 0 评论 -
linux上搭建git服务器之2(git基础操作)
文章目录正文1 获取 Git 仓库1-1 普通目录初始化为git仓库1-2 克隆 一个已存在的 Git 仓库2 记录每次更新到仓库2-1 基础操作2-2 ignore 忽略文件2-3 查看差异2-4 移动文件2-5 查看提交历史2-6 撤销操作正文参考 https://git-scm.com/book/zh/v2/Git-%E5%9F%BA%E7%A1%80-%E8%8E%B7%E5%8F%96-Git-%E4%BB%93%E5%BA%931 获取 Git 仓库通常有两种获取 Git 项目仓库的方式原创 2021-06-02 14:11:22 · 150 阅读 · 0 评论 -
linux上搭建git服务器之1(git介绍)
参考:https://git-scm.com/book/zh/v2/%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%8A%E7%9A%84-Git-%E5%8D%8F%E8%AE%AE原创 2021-06-02 13:12:06 · 316 阅读 · 0 评论