
git
秦汉唐天下
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
git pull出错解决
当本地代码存在修改而没有提交时,如果进行pull操作,非常容易出现错误提示 error: Your local changes to the following files would be overwritten by merge: xxx/xxx/xxx.java Please, commit your changes or stash them before you ca...原创 2016-12-08 15:20:32 · 828 阅读 · 0 评论 -
git 本地添加版本库流程
git 公钥 windows 上tortoise git的密钥和git命令行的密钥文件不通用,如果两者都用的话,最好都生成一次 ssh-keygen -t rsa -C "$your_email" 之后一路回车即可 cat ~/.ssh/id_rsa.pub 用来显示你的密钥 在C:\Users\你的用户名\.ssh下找到公钥文件,就是以.pub结尾的文件,将其内容加到相应的服务端sshkey中即...原创 2016-12-08 15:21:36 · 311 阅读 · 0 评论 -
tortoiseGit使用说明
首先要安装msysgit,并按git命令行模式初始化之后,才能安装使用tortoiseGit 此处的commit只是提交到本地库,如果要提交到远程库,需要使用push选项 但push到远端不能使用msysgit产生的.pub文件,需要用tortoiseGit自带的putty gen产生的key 打开之后点击Generate按钮产生key 产生key的时候需要鼠标在上部滚动条...原创 2016-12-08 15:23:16 · 553 阅读 · 0 评论 -
centos6 gitlab备份升级转移
本人原服务器A上使用的是gitlab-ce-8.16.0-ce.0.el6.x86_64,工作需要需将其转移到B服务器上,并升级到最新版本,服务器使用centos6.9系统 一、备份 1.无论做什么大型操作,最先要做的必须是备份好原服务器数据 shell> gitlab-rake gitlab:backup:create STRATEGY=copy 备份文件在/var/opt...原创 2018-05-15 10:01:32 · 536 阅读 · 0 评论 -
php 操作git报Host key verification failed
1.windows本人在用windows上,用php7.2进行git操作时,总是在报错Cloning into 'G:\tmp\repository\git_repository\chef-server.git'... Host key verification failed. fatal: Could not read from remote repository. Please make s...原创 2018-06-01 21:11:38 · 867 阅读 · 0 评论 -
linux gitlab相关操作
1.unicorn默认配置路径 /var/opt/gitlab/gitlab-rails/etc/unicorn.rb 2.gitlab启动命令 gitlab-ctl start gitlab-ctl stop gitlab-ctl restart gitlab-ctl status gitlab-ctl stop unicorn gitlab-ctl stop sideki...原创 2018-09-06 17:20:49 · 239 阅读 · 0 评论 -
git常用命令
本文参考:https://www.yiibai.com/git 一、添加多个remote gitremoteaddoriginA(remoteA名称)git@10.130.161.12:server-group/a-project/server.git gitremoteaddoriginB(remoteB名称)git@10.130.161.12:server-group/b-p...原创 2018-11-05 15:11:33 · 225 阅读 · 0 评论