From cac3166bd4ffd7a14b1a615cad5a55558db4a0ce Mon Sep 17 00:00:00 2001 From: Ruth Ikegah Date: Tue, 13 Oct 2020 12:51:06 +0100 Subject: [PATCH 1/3] Added a quick tip about PR's base branch --- .../changing-the-base-branch-of-a-pull-request.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md index 49a6a3706c7a..551b9f8fb501 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md @@ -20,6 +20,8 @@ versions: 4. In the base branch drop-down menu, select the base branch you'd like to [compare changes against](/github/committing-changes-to-your-project/comparing-commits#comparing-branches). ![Base branch drop-down menu ](/assets/images/help/pull_requests/pull-request-edit-base-branch.png) 5. Read the information about changing the base branch and click **Change base**. ![Base branch change confirmation button ](/assets/images/help/pull_requests/pull-request-base-branch-confirm.png) +> Quick tip: When you open a Pull Request, GitHub will set the base to the commit that branch references. If the branch is updated in the future, GitHub will not update the base branch's commit. + ### Further reading - "[Creating a pull request](/articles/creating-a-pull-request)" From d5dd4bb9a1962f0640258b2c92c0730a3cdb73dc Mon Sep 17 00:00:00 2001 From: Ruth Ikegah Date: Tue, 13 Oct 2020 13:18:26 +0100 Subject: [PATCH 2/3] Update changing-the-base-branch-of-a-pull-request.md --- .../changing-the-base-branch-of-a-pull-request.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md index 551b9f8fb501..f51024f67541 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md @@ -20,7 +20,12 @@ versions: 4. In the base branch drop-down menu, select the base branch you'd like to [compare changes against](/github/committing-changes-to-your-project/comparing-commits#comparing-branches). ![Base branch drop-down menu ](/assets/images/help/pull_requests/pull-request-edit-base-branch.png) 5. Read the information about changing the base branch and click **Change base**. ![Base branch change confirmation button ](/assets/images/help/pull_requests/pull-request-base-branch-confirm.png) -> Quick tip: When you open a Pull Request, GitHub will set the base to the commit that branch references. If the branch is updated in the future, GitHub will not update the base branch's commit. +{% tip %} + +**Tip:** +When you open a Pull Request, GitHub will set the base to the commit that branch references. If the branch is updated in the future, GitHub will not update the base branch's commit. + +{% endtip %} ### Further reading From 27d7da9dcf1edf8a7928852b44fc7269eb4a646c Mon Sep 17 00:00:00 2001 From: Ruth Ikegah Date: Wed, 14 Oct 2020 14:54:15 +0100 Subject: [PATCH 3/3] Update content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md Co-authored-by: Janice --- .../changing-the-base-branch-of-a-pull-request.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md b/content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md index f51024f67541..80e6bb425e8b 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md +++ b/content/github/collaborating-with-issues-and-pull-requests/changing-the-base-branch-of-a-pull-request.md @@ -22,8 +22,7 @@ versions: {% tip %} -**Tip:** -When you open a Pull Request, GitHub will set the base to the commit that branch references. If the branch is updated in the future, GitHub will not update the base branch's commit. +**Tip:** When you open a pull request, {% data variables.product.product_name %} will set the base to the commit that branch references. If the branch is updated in the future, {% data variables.product.product_name %} will not update the base branch's commit. {% endtip %}