![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
gitlab
yanhappyYY
深自缄默,如云淡薄。
展开
-
跨项目合并git分支
需求: AB两个项目 将A项目的a分支迁移到B项目的b分支在B项目中新增A项目远程仓库地址5. 完成 – 此时B项目下面 b分支 完全合并了A项目的a分支 git log可以查到所有A项目a分支的提交记录原创 2022-06-01 11:34:35 · 895 阅读 · 0 评论 -
解决`handle_argument_error‘: ERROR: “rails console“ was called with arguments [“production“]
强制更改gitlab的密码 1. docker exec -it gitlab /bin/bash 2. gitlab-rails console 3. user = User.find_by(email:'123456789@qq.com') 4.user.password='123456789' 5.user.save!原创 2022-03-28 11:00:27 · 696 阅读 · 0 评论 -
gitlab服务器的迁移与升级备份---从centos 7到ubuntu docker的升级之路
升级路径https://docs.gitlab.com/ee/update/#upgrade-paths原创 2022-02-18 18:25:11 · 949 阅读 · 1 评论 -
gitlab 常用命令自查表
gitlab# 查看当前gitlab版本号 cat /opt/gitlab/embedded/service/gitlab-rails/VERSION # 查看gitlab配置文件vim /etc/gitlab/gitlab.rb#运行配置文件gitlab-ctl reconfigure# 重启gitlab gitlab-ctl restart# 其他gitlab-ctl startgitlab-ctl stop版本升级 gitlab 不允许直接升级,需要参考 官方升级路线原创 2020-05-14 18:04:30 · 403 阅读 · 1 评论