From eb73405b4663fa1f796cd5cd16e75dd5617bfdaf Mon Sep 17 00:00:00 2001 From: camlafit Date: Thu, 1 Jun 2017 16:12:18 +0200 Subject: [PATCH] Explain how to try a PR (#117) On some case any use would be try a PR. Is no so complicate when is explained :) --- content/doc/installation/from-source.en-us.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/doc/installation/from-source.en-us.md b/content/doc/installation/from-source.en-us.md index a0089ba..fe6b3db 100644 --- a/content/doc/installation/from-source.en-us.md +++ b/content/doc/installation/from-source.en-us.md @@ -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