Skip to content

Commit 187e67d

Browse files
committed
Update Git Repository documentation with GitHub Copilot integration
1 parent 4124929 commit 187e67d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/version-control/git-manage-repository.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ Version control with Visual Studio is easy with Git. And, you can work remotely
1919

2020
To open the **Git Repository** window, choose **View** > **Git repository** (or press **Ctrl**+**0**, **Ctrl**+**R**), or press **Ctrl**+**Q** and under **Features**, search for **Git repo**.
2121

22+
## Explain a commit with GitHub Copilot Chat
23+
24+
With Visual Studio 2022 version 17.10 preview 2 and later and the GitHub Copilot extensions, you can use AI to generate a detailed commit description that describes your repository's changes. Press the Explain option to request that GitHub Copilot create a commit explanation. To install GitHub Copilot, see [Install and manage GitHub Copilot in Visual Studio](../ide/visual-studio-github-copilot-install-and-states.md).
25+
26+
:::image type="content" source="media/vs-2022/repository-commit-copilot.png" alt-text="Screenshot of the explain button to request that GitHub Copilot create a commit explanation.":::
27+
2228
## Change the last commit (amend)
2329

2430
Updating the last commit is called *amending* in Git, and it's a common use case. Sometimes you just need to update your commit message, or you might need to include a last-minute change.
Loading

0 commit comments

Comments
 (0)