Skip to content
GitLab
菜单
为什么选择 GitLab
定价
联系销售
探索
为什么选择 GitLab
定价
联系销售
探索
登录
获取免费试用
主导航
搜索或转到…
项目
GitLab
管理
动态
成员
标记
计划
议题
议题看板
里程碑
迭代
需求
代码
合并请求
仓库
分支
提交
标签
仓库图
比较修订版本
代码片段
锁定的文件
构建
流水线
作业
流水线计划
测试用例
产物
部署
发布
Package registry
Container registry
模型注册表
运维
环境
Terraform 模块
监控
事件
服务台
分析
价值流分析
贡献者分析
CI/CD 分析
仓库分析
代码评审分析
议题分析
洞察
模型实验
效能分析
帮助
帮助
支持
GitLab 文档
比较 GitLab 各版本
社区论坛
为极狐GitLab 提交贡献
提交反馈
隐私声明
快捷键
?
新增功能
4
代码片段
群组
项目
显示更多面包屑
gitlab-cn
GitLab
提交
ad2a528f
提交
ad2a528f
编辑于
4 years ago
作者:
Paul Okstad
提交者:
Evan Read
4 years ago
浏览文件
操作
下载
补丁
差异文件
Update minimum Git version to v2.24
上级
094529ff
No related branches found
No related tags found
无相关合并请求
变更
4
隐藏空白变更内容
行内
左右并排
显示
4 个更改的文件
doc/install/installation.md
+1
-1
1 个添加, 1 个删除
doc/install/installation.md
doc/install/requirements.md
+2
-2
2 个添加, 2 个删除
doc/install/requirements.md
doc/update/README.md
+10
-0
10 个添加, 0 个删除
doc/update/README.md
doc/update/upgrading_from_source.md
+10
-5
10 个添加, 5 个删除
doc/update/upgrading_from_source.md
有
23 个添加
和
8 个删除
doc/install/installation.md
+
1
−
1
浏览文件 @
ad2a528f
...
@@ -134,7 +134,7 @@ Make sure you have the right version of Git installed:
...
@@ -134,7 +134,7 @@ Make sure you have the right version of Git installed:
# Install Git
# Install Git
sudo
apt-get
install
-y
git-core
sudo
apt-get
install
-y
git-core
# Make sure Git is version 2.26.2 or higher (minimal supported version is 2.2
2
.0)
# Make sure Git is version 2.26.2 or higher (minimal supported version is 2.2
4
.0)
git
--version
git
--version
```
```
...
...
此差异已折叠。
点击以展开。
doc/install/requirements.md
+
2
−
2
浏览文件 @
ad2a528f
...
@@ -50,11 +50,11 @@ needs several Gems that have native extensions.
...
@@ -50,11 +50,11 @@ needs several Gems that have native extensions.
### Go versions
### Go versions
The minimum required Go version is 1.1
2
.
The minimum required Go version is 1.1
3
.
### Git versions
### Git versions
GitLab 11.11 and higher only supports Git 2.2
1
.x and newer, and
GitLab 11.11 and higher only supports Git 2.2
4
.x and newer, and
[
dropped support for older versions
](
https://gitlab.com/gitlab-org/gitlab-foss/-/issues/54255
)
.
[
dropped support for older versions
](
https://gitlab.com/gitlab-org/gitlab-foss/-/issues/54255
)
.
### Node.js versions
### Node.js versions
...
...
此差异已折叠。
点击以展开。
doc/update/README.md
+
10
−
0
浏览文件 @
ad2a528f
...
@@ -192,6 +192,16 @@ possible.
...
@@ -192,6 +192,16 @@ possible.
## Version specific upgrading instructions
## Version specific upgrading instructions
### 13.1.0
In 13.1.0, you must upgrade to either:
-
At least Git v2.24 (previously, the minimum required version was Git v2.22).
-
The recommended Git v2.26.
Failure to do so will result in internal errors in the Gitaly service in some RPCs due
to the use of the new
`--end-of-options`
Git flag.
### 12.2.0
### 12.2.0
In 12.2.0, we enabled Rails' authenticated cookie encryption. Old sessions are
In 12.2.0, we enabled Rails' authenticated cookie encryption. Old sessions are
...
...
此差异已折叠。
点击以展开。
doc/update/upgrading_from_source.md
+
10
−
5
浏览文件 @
ad2a528f
...
@@ -122,12 +122,17 @@ rm go1.13.5.linux-amd64.tar.gz
...
@@ -122,12 +122,17 @@ rm go1.13.5.linux-amd64.tar.gz
### 6. Update Git
### 6. Update Git
NOTE: To check the minimum required Git version, see
[
Git versions
](
../install/requirements.md#git-versions
)
.
CAUTION:
**Caution:**
From GitLab 13.1, you must use at least Git v2.24 (previous minimum version was v2.22).
Git v2.26 is recommended.
To check you are running the minimum required Git version, see
[
Git versions
](
../install/requirements.md#git-versions
)
.
In Debian or Ubuntu:
In Debian or Ubuntu:
```
shell
```
shell
# Make sure Git is version 2.2
1
.0 or higher
# Make sure Git is version 2.2
4
.0 or higher
git
--version
git
--version
# Remove packaged Git
# Remove packaged Git
...
@@ -147,9 +152,9 @@ make install
...
@@ -147,9 +152,9 @@ make install
# Download and compile from source
# Download and compile from source
cd
/tmp
cd
/tmp
curl
--remote-name
--location
--progress
https://www.kernel.org/pub/software/scm/git/git-2.2
1
.0.tar.gz
curl
--remote-name
--location
--progress
https://www.kernel.org/pub/software/scm/git/git-2.2
6
.0.tar.gz
echo
'
85eca51c7404da75e353eba587f87fea9481ba41e162206a6f70ad8118147
be
e
git-2.2
1
.0.tar.gz'
| shasum
-a256
-c
-
&&
tar
-xzf
git-2.2
1
.0.tar.gz
echo
'
aa168c2318e7187cd295a645f7370cc6d71a324aafc932f80f00c780b6a26
be
d
git-2.2
6
.0.tar.gz'
| shasum
-a256
-c
-
&&
tar
-xzf
git-2.2
6
.0.tar.gz
cd
git-2.2
1
.0/
cd
git-2.2
6
.0/
./configure
--with-libpcre
./configure
--with-libpcre
make
prefix
=
/usr/local all
make
prefix
=
/usr/local all
...
...
此差异已折叠。
点击以展开。
预览
0%
加载中
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
保存评论
取消
想要评论请
注册
或
登录