
git
Frankeen
Try to make the world a better place,Look inside yourself and recognize that change starts with you.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
在一个客户端设置多个git账号
步骤一:用ssh-keygen命令生成一组新的id_rsa_new和id_rsa_new.pub。 ssh-keygen -t rsa -C "new email" 平时我们都是直接回车,默认生成id_rsa和id_rsa.pub。这里特别需要注意,出现提示输入文件名的时候要输入与默认配置不一样的文件名,比如: id_rsa_github。 步骤二:配置~/.ssh/config文件,以原创 2016-08-17 14:54:34 · 2883 阅读 · 0 评论 -
设置github的sshkey
把github上的help略略翻译一遍。备忘。 First : 安装:ubuntu 下,终端输入命令: sudo apt-get install git-core git-gui git-doc Next : 设置SSH Key 检查是否已经有SSH Key。 $cd ~/.ssh 如果说没有这个目录,就直接看第三步 备份生成一个新的SSH。转载 2016-08-17 14:56:58 · 388 阅读 · 0 评论 -
centos7安装gitlab及注意事项
环境说明 系统CentOS:CentOS7 IP: 172.16.2.205 操作步骤 1.查看Linux系统版本确认gitlab需要使用的安装包类型 [root@localhost proc]# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) 本系统是CentOS 7,对应官方教程地址:https://about.git...原创 2018-11-19 14:25:43 · 2569 阅读 · 0 评论 -
centos7卸载gitlab
1.停止gitlab gitlab-ctl stop 2.卸载gitlab rpm -e gitlab-ee 3.查看gitlab进程 [root@localhost gitlab]# ps -ef|grep gitlab root 10676 1 0 10:31 ? 00:00:00 runsvdir -P /opt/gitlab/service log: ....原创 2018-11-19 14:26:49 · 3146 阅读 · 0 评论 -
gitlab汉化
环境说明 系统CentOS:CentOS7 注意:如不清楚gitlab版本以及git,请不要操作,否则gitlab瘫痪! 1.先查看gitlab版本 可以通过 [root@localhost gitlab]# cat /opt/gitlab/embedded/service/gitlab-rails/VERSION 10.8.4 也可以通过 [root@localhost gitlab]# r...原创 2018-11-19 14:27:47 · 1467 阅读 · 0 评论 -
gitlab备份和恢复(仓库迁移)
1.备份 gitlab-rake gitlab:backup:create 备份文件默认存放目录: /var/opt/gitlab/backups/, 备份文件以 时间戳_gitlab_backup.tar 命名:1528446365_2018_06_08_10.8.4_gitlab_backup.tar 2.恢复(把备份文件copy到新gitlab服务器的/var/opt/gitlab/bac...原创 2018-11-19 14:28:26 · 4384 阅读 · 0 评论