Skip to content

Commit

Permalink
Merge pull request MicrosoftDocs#10571 from MicrosoftDocs/main6387241…
Browse files Browse the repository at this point in the history
…35312176498sync_temp

For protected branch, push strategy should use PR and merge to target branch method to work around git push error
  • Loading branch information
learn-build-service-prod[bot] authored Jan 14, 2025
2 parents 0c6a5b2 + 1c3599c commit 7fee425
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/debugger/view-data-in-tabular-visualizer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "View data with the Tabular visualizer "
description: View large collection objects with built-in tabular visualizers in the Visual Studio debugger and examine data by row and column for fields and properties.
ms.date: "07/30/2024"
ms.date: "01/13/2025"
ms.topic: "conceptual"
dev_langs:
- "CSharp"
Expand Down
10 changes: 9 additions & 1 deletion docs/ide/how-to-save-and-open-files-with-encoding.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Save and open files with encoding
description: Learn how to save and open files with specific encoding in Visual Studio, and ensure files open correctly in subsequent use.
ms.date: 08/15/2024
ms.date: 01/13/2025
ms.topic: how-to
helpviewer_keywords:
- Unicode, bidirectional language support
Expand Down Expand Up @@ -47,6 +47,14 @@ Follow these steps to save your file with encoding:
> [!NOTE]
> To save the project file with encoding, first unload the project. The **Save File As** option isn't enabled until you unload the project.
::: moniker range=">= vs-2022"
## Set the default encoding

Starting in Visual Studio 2022 version 17.13 Preview 1, you can set the default encoding for saving files.

To set the default, choose **Tools** > **Options** > **Environment**, **Documents**. Next, select **Save files with the following encoding**, and then select the encoding you want as the default.
::: moniker-end

## Open encoded file with project

To open an encoded file located within a project, follow these steps:
Expand Down
2 changes: 1 addition & 1 deletion docs/profiling/cpu-insights.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Diagnose high latency with CPU Insights
description: Use CPU Insights to diagnose and optimize your code's performance
ms.date: 09/06/2024
ms.date: 01/13/2025
ms.topic: how-to
author: mikejo5000
ms.author: mikejo
Expand Down
2 changes: 2 additions & 0 deletions docs/version-control/git-manage-repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ Select the new commit to confirm that it undoes the changes of the reverted comm

:::image type="content" source="media/vs-2022/git-repository-revert-confirmation.png" alt-text="Screenshot of confirming a revert operation." lightbox="media/vs-2022/git-repository-revert-confirmation.png":::

The **Revert** menu item might be grayed out (disabled) in certain circumstances, such as for merge commits or when a Git operation is running.

To learn more about reverting changes, see the [Git webpage for the revert command](https://git-scm.com/docs/git-revert).

## Reset a branch to a previous state
Expand Down

0 comments on commit 7fee425

Please sign in to comment.