
git
步石遮刃
无法内静,可先外静
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
gitlab 安装与502报错
sudo yum install -y curl policycoreutils-python openssh-serversudo systemctl enable sshdsudo systemctl start sshd开启防火墙systemctl start firewalld.service sudo firewall-cmd --permanent --add-se原创 2017-12-21 09:44:08 · 3656 阅读 · 0 评论 -
git 切换分支冲突
原创地址 http://blog.youkuaiyun.com/lincyang/article/details/21519333今天用git pull来更新代码,遇到了下面的问题:[html] view plain copyerror: Your local changes to the following files woul转载 2017-11-13 11:40:57 · 3844 阅读 · 0 评论 -
git 拖下laravel 代码后报错 Warning: require(D:\WWW\laravel\bootstrap/../vendor/autoload.php
composer install 执行 Problem 1 - Installation request for doctrine/annotations v1.5.0 -> satisfiable by doctrine/annotations[v1.5.0]. - doctrine/annotations v1.5.0 requires php ^7.原创 2017-11-17 14:51:59 · 15477 阅读 · 0 评论 -
error: failed to push some refs to 'http://gitlab.guoshang.com/factoring_service/ticket_five.git'
git push 的时候出错,原因是本地缺少远程连接的文件,导致无法推送 git pull --rebase origin mastergit push origin master神器!!!!有一点要注意,陈宫后,你刚刚修改的代码会丢掉,回到你pull之前慎用原创 2017-11-30 17:45:47 · 1426 阅读 · 0 评论 -
fatal: refusing to merge unrelated histories(git)
首先看报错 拒绝合并 从而造成拉取失败,原因是本地和远程仓库不同,这个时候可以在pull的时候加上 --allow-unrelated-histories 这句代码是在git 2.9.2版本发生的 假如我们的源是origin,分支是dev,那么我们 需要这样写git pull origin dev ----allow-unrelated-h原创 2017-12-05 10:57:06 · 200 阅读 · 0 评论 -
gitlab搭建
GitLab的安装方式GitLab的两种安装方法:编译安装优点:可定制性强。数据库既可以选择MySQL,也可以选择PostgreSQL;服务器既可以选择Apache,也可以选择Nginx。缺点:国外的源不稳定,被墙时,依赖软件包难以下载。配置流程繁琐、复杂,容易出现各种各样的问题。依赖关系多,不容易管理,卸载GitLab相对麻烦。通过rpm包安装转载 2017-12-18 17:55:26 · 403 阅读 · 0 评论 -
gitlab 安装报错无法重启nginx
重启时报错/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)发现没有pid没文件/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf执行此命令修复又报错nginx:原创 2017-12-19 14:14:32 · 673 阅读 · 0 评论 -
git was not found, check that it is installed and in your PATH env.
无法通过git获取某些东东在学校碰到这错整了一两天没整出来,气的炸锅现在5分钟就能解决,满满的成就感右键点击电脑。点击高级系统设置点击高级菜单中的环境变量在系统变量下,滚动到 PATH添加;“C:\path\to\git\bin”;“C:\path\to\\ \\ git\cmd“ 在命令提示符下测试git命令 就是如此简单 凡 新手照着这片文档没法解决都可以联系,比...原创 2018-06-19 08:59:01 · 6671 阅读 · 0 评论 -
source tree 工作流程以及部分流程
正常流程获取 ==》 拉取 ==》 暂存 ==》 提交 ==》 推送拉取冲突1、把冲突文件暂存后提交2、拉取3、推送(自动合并) 后续再更原创 2018-07-30 18:50:41 · 567 阅读 · 0 评论