git 命令
qinzhao168
梦想 在远处 呐喊
展开
-
gitlab CI
注意:gitlab 的CI 功能是版本>=8.0才有,如何安装gitlab可以自行搜索,或者点击 官方网站-安装gitlabCI-官网1.第一步 Add .gitlab-ci.yml to the root directory of your repository[root@deployment ~]# mkdir test [root@deployment ~]# cd test/ [root@d原创 2017-06-25 11:35:42 · 1001 阅读 · 0 评论 -
git 常用命令
为了方便自己,所以转载了有关git的命令 一、新建代码库 # 在当前目录新建一个Git代码库 $ git init # 新建一个目录,将其初始化为Git代码库 $ git init [project-name] # 下载一个项目和它的整个代码历史 $ git clone [url] 二、配置转载 2017-06-20 09:24:13 · 321 阅读 · 0 评论 -
Git:代码冲突常见解决方法
如果系统中有一些配置文件在服务器上做了配置修改,然后后续开发又新添加一些配置项的时候, 在发布这个配置文件的时候,会发生代码冲突:error: Your local changes to the following files would be overwritten by merge: protected/config/main.php Please, commit your c转载 2017-10-02 17:08:16 · 326 阅读 · 0 评论