Skip to content

Commit 2d147b8

Browse files
authored
Merge pull request #13223 from ghogen/version-control-updates
Version control updates
2 parents 5cf2126 + 35f4c82 commit 2d147b8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create a pull request in Visual Studio
33
titleSuffix: ""
44
description: Create a pull request in Visual Studio by using GitHub or Azure DevOps.
5-
ms.date: 10/23/2023
5+
ms.date: 10/7/2024
66
ms.topic: how-to
77
author: houghj16
88
ms.author: jehoughton
@@ -55,7 +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.
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**.
59+
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/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository) and [Azure DevOps documentation](/azure/devops/repos/git/pull-request-templates#default-pull-request-templates).
5963

6064
## View pull request comments in the editor
6165

Loading

0 commit comments

Comments
 (0)