![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
版本库
Linux_newbie_rookie
这个作者很懒,什么都没留下…
展开
-
git案列
git的案列: 1、 Git远程版本库回滚1)本地代码库回滚: git reset --hard commit-id 如 :git reset --hard HEAD~3 2)【远程代码回滚】原理:先将本地分支退回到某个commit,删除远程分支,再重新push本地分支; 步骤:git checkout bro 创建个分支; git pull原创 2018-02-05 20:03:34 · 946 阅读 · 0 评论 -
git
----------------------------------------------安装git不简述了,直接yum -y install git 教程:http://www.runoob.com/git/git-branch.htmlGit可以直接部署在一台服务器上,可以先创建一个git仓库,然后创建项目git,若是在公司使用git版本库,可使用gitlab,gitlab可以提供w原创 2018-02-05 20:07:07 · 234 阅读 · 0 评论 -
svn简介
1. svn默认端口号为 3690可参考:http://www.runoob.com/svn/svn-create-repo.html2. svn的概念:repository(源代码库):源代码统一存放的地方。Chechout(提取):当你手上没有源代码的时候,你需要从repository checkout一份Commit(提交):当你修改了代码,就需要commit到repositor...原创 2018-02-11 15:13:24 · 274 阅读 · 0 评论