Skip to content

Commit 14f6af0

Browse files
committed
Add information about new version control features
1 parent e4a9eb7 commit 14f6af0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/version-control/git-create-pull-request.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,11 @@ To create a pull request, follow these steps:
5555

5656
:::image type="content" source="media/vs-2022/git-create-pr-issue-search.png" alt-text="The New Pull Request with # in the description box and a list of the related GitHub issues and pull requests shown in Visual Studio 2022.":::
5757

58-
1. Once you’ve clicked **Create** on your pull request, other developers can review your changes and provide feedback. Or, with Visual Studio 17.12 and later, click the dropdown and choose **Create as draft**.
58+
1. Once you’ve clicked **Create** on your pull request, other developers can review your changes and provide feedback. Or, with Visual Studio 17.12 and later, click the dropdown and choose **Create as draft**.
5959

60-
With Visual Studio 17.12 and later, your default PR template will be used when creating a new pull request for both GitHub and Azure DevOps. Learn more about how to add a pull request template to your repository in the [GitHub documentation](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository) and [Azure DevOps documentation](https://learn.microsoft.com/azure/devops/repos/git/pull-request-templates?view=azure-devops#default-pull-request-templates).
60+
:::image type="content" source="media/vs-2022/git-new-pull-request-create-draft.png" alt-text="Screenshot showing the option to create a new pull request as a draft." :::
61+
62+
With Visual Studio 17.12 and later, you can enable the **Pull Request Templates** feature (in **Tools** > **Options** > **Environment** > **Preview Features**) so that your default PR template in your repo will be used when creating a new pull request for both GitHub and Azure DevOps. Learn more about how to add a pull request template to your repository in the [GitHub documentation](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository) and [Azure DevOps documentation](https://learn.microsoft.com/azure/devops/repos/git/pull-request-templates?view=azure-devops#default-pull-request-templates).
6163

6264
## View pull request comments in the editor
6365

Loading

0 commit comments

Comments
 (0)