mirror of
https://github.com/go-gitea/docs.git
synced 2026-07-19 22:33:40 -04:00
Explain how to try a PR (#117)
On some case any use would be try a PR. Is no so complicate when is explained :)
This commit is contained in:
@@ -35,11 +35,18 @@ git branch -a
|
||||
git checkout v1.0
|
||||
```
|
||||
|
||||
If you would validate a Pull Request, first your must enable this new branch : (xyz is PR value)
|
||||
|
||||
```
|
||||
git fetch origin pull/xyz/head:pr-xyz
|
||||
```
|
||||
|
||||
Last but not least you can also directly build our tagged versions like `v1.0.0`, if you want to build Gitea from the source this is the suggested way for that. To use the tags you need to list the available tags and checkout a specific tag with the following commands:
|
||||
|
||||
```
|
||||
git tag -l
|
||||
git checkout v1.0.0
|
||||
git checkout pr-xyz
|
||||
```
|
||||
|
||||
## Build
|
||||
|
||||
Reference in New Issue
Block a user