首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >如何检查GitLab的版本?

如何检查GitLab的版本?
EN

Stack Overflow用户
提问于 2014-01-12 06:36:42
回答 11查看 223.1K关注 0票数 310

如何检查服务器上安装了哪个版本的GitLab?

我是关于GitLab changelog中指定的版本:

https://gitlab.com/gitlab-org/gitlab-foss/blob/master/CHANGELOG.md

例如:"6.5.0“、"6.4.3”等。

С只能通过终端完成此操作吗?

有没有办法实现远程操作(使用浏览器而不是终端)?

EN

回答 11

Stack Overflow用户

发布于 2015-12-17 04:12:09

对于综合版本:

代码语言:javascript
复制
sudo gitlab-rake gitlab:env:info

示例:

代码语言:javascript
复制
System information
System:     Ubuntu 12.04
Current User:   git
Using RVM:  no
Ruby Version:   2.1.7p400
Gem Version:    2.2.5
Bundler Version:1.10.6
Rake Version:   10.4.2
Sidekiq Version:3.3.0

GitLab information
Version:    8.2.2
Revision:   08fae2f
Directory:  /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL:        https://your.hostname
HTTP Clone URL: https://your.hostname/some-group/some-project.git
SSH Clone URL:  git@your.hostname:some-group/some-project.git
Using LDAP: yes
Using Omniauth: no

GitLab Shell
Version:    2.6.8
Repositories:   /var/opt/gitlab/git-data/repositories
Hooks:      /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git:        /opt/gitlab/embedded/bin/git
票数 106
EN

Stack Overflow用户

发布于 2018-03-29 19:53:24

如果您使用的是GitLab的自托管版本,则可以考虑运行此命令。

grep gitlab /opt/gitlab/version-manifest.txt

票数 34
EN

Stack Overflow用户

发布于 2020-07-13 15:31:25

你可以在https://your.domain.name/help上查看GitLab的版本。

或者通过终端:gitlab-rake gitlab:env:info

票数 16
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/21068773

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档