diff --git a/src/main/twirl/gitbucket/core/pulls/mergeguide.scala.html b/src/main/twirl/gitbucket/core/pulls/mergeguide.scala.html index f6c1d4a..5b10761 100644 --- a/src/main/twirl/gitbucket/core/pulls/mergeguide.scala.html +++ b/src/main/twirl/gitbucket/core/pulls/mergeguide.scala.html @@ -83,14 +83,15 @@ }
- Step 1: Check out a new branch to test the changes — run this from your project directory + Step 1: From your project repository, check out a new branch and test the changes.
- @defining(s"git checkout -b ${pullreq.requestUserName}-${pullreq.requestBranch} ${pullreq.branch}"){ command => + @defining(s"git checkout -b ${pullreq.requestUserName}-${pullreq.requestBranch} ${pullreq.branch}\ngit pull ${requestRepositoryUrl} ${pullreq.requestBranch}"){ command => @helper.html.copy("merge-command-copy-1", command){@command} }
Step 2: Bring in @{pullreq.requestUserName}'s changes and test @@ -101,12 +102,13 @@ } }
- Step 3: Merge the changes and update the server + Step 2: Merge the changes and update on the server.
- @defining(s"git checkout ${pullreq.branch}\ngit merge ${pullreq.requestUserName}-${pullreq.requestBranch}\ngit push origin ${pullreq.branch}"){ command => - @helper.html.copy("merge-command-copy-3", command){ + @defining(s"git checkout ${pullreq.branch}\ngit merge --no-ff ${pullreq.requestUserName}-${pullreq.requestBranch}\ngit push origin ${pullreq.branch}"){ command => + @helper.html.copy("merge-command-copy-2", command){@command} }