Skip to content

Commit 64771ff

Browse files
authored
Merge pull request #13313 from MicrosoftDocs/main
Merge main into live
2 parents c5b616e + cf66cf2 commit 64771ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/version-control/git-make-commit.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ Visual Studio also makes it easy to commit and sync with one click by using the
4242

4343
New in [**version 17.6**](/visualstudio/releases/2022/release-notes-v17.6): You can also reference an issue or a pull request by typing `#` or selecting the **#** button in the lower right side of the commit message text box. For more information, see the [Reference issues and pull requests](https://devblogs.microsoft.com/visualstudio/reference-github-issues-and-pull-requests-in-visual-studio/) blog post.
4444

45+
New in **version 17.12**: When you rename a file, you'll see a notification bar at the top of the **Git Changes** window informing you that a file was renamed, and prompting you to stage that change. This notification appears before you stage or commit anything. You might want to stage and commit the change before making other changes, in order to ensure that Git detects the change as a rename, not a deletion and addition of a new file.
46+
4547
## Revert, reset, or amend a commit
4648

4749
When you double-click a **Commit**, Visual Studio opens its details in a separate tool window. From here you can revert the commit, reset (undo) the commit, amend the commit message, or create a tag on the commit. When you click a changed file in the commit, Visual Studio opens the side-by-side **Diff** view of the commit and its parent.

0 commit comments

Comments
 (0)