+In Visual Studio 2022 **version 17.12**, you can select any section code, and then right-click, expand the Git submenu, and choose **Copy GitHub Permalink** to generate a [GitHub Permalink](https://docs.github.com/en/repositories/working-with-files/using-files/getting-permanent-links-to-files) and copy it to the clipboard. From there, you can paste it anywhere a link might be used, in the browser, or share it over email, chat sessions, and documents. You can also do the same within the embedded commit details view in the **Git Repository** window. This feature allows you to reference specific code from previous commits without switching branches.
0 commit comments