mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-20 04:58:52 +00:00
Add config option and shortcode for Gitea version (#7940)
Signed-off-by: jolheiser <[email protected]>
This commit is contained in:
committed by
Lunny Xiao
parent
5bb5b714e2
commit
f5c4a98f2c
@@ -32,14 +32,14 @@ cd $GOPATH/src/code.gitea.io/gitea
|
||||
|
||||
```
|
||||
git branch -a
|
||||
git checkout v1.0
|
||||
git checkout v{{< version >}}
|
||||
```
|
||||
|
||||
最后,你也可以直接使用标签版本如 `v1.0.0`。你可以执行以下命令列出可用的版本并选择某个版本签出:
|
||||
最后,你也可以直接使用标签版本如 `v{{< version >}}`。你可以执行以下命令列出可用的版本并选择某个版本签出:
|
||||
|
||||
```
|
||||
git tag -l
|
||||
git checkout v1.0.0
|
||||
git checkout v{{< version >}}
|
||||
```
|
||||
|
||||
## 编译
|
||||
|
||||
Reference in New Issue
Block a user