Skip to content

Commit 54d3216

Browse files
committed
docs: note default branch requirement for automatic PR linking
1 parent 27965d1 commit 54d3216

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎content/issues/tracking-your-work-with-issues/using-issues/creating-a-branch-for-an-issue.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ category:
1818
1919
## About branches connected to an issue
2020

21-
Branches connected to an issue are shown under the "Development" section in the sidebar of an issue. When you create a pull request for one of these branches, it is automatically linked to the issue. The connection with that branch is removed and only the pull request is shown in the "Development" section. For more information, see [AUTOTITLE](/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue).
21+
Branches connected to an issue are shown under the "Development" section in the sidebar of an issue. When you create a pull request for one of these branches, it is automatically linked to the issue if the pull request targets the default branch of the repository. The connection with that branch is removed and only the pull request is shown in the "Development" section. If the pull request targets a different branch, it is not automatically linked and the branch remains in the "Development" section. You can link the pull request manually. For more information, see [AUTOTITLE](/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue).
2222

2323
## Creating a branch for an issue
2424

0 commit comments

Comments
 (0)