{"id":238920,"date":"2022-08-15T08:00:25","date_gmt":"2022-08-15T15:00:25","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=238920"},"modified":"2022-08-14T17:09:04","modified_gmt":"2022-08-15T00:09:04","slug":"git-line-staging-released","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/git-line-staging-released\/","title":{"rendered":"Git Line-staging Released!"},"content":{"rendered":"<p>We are excited to announce the release of Line-staging support in Visual Studio 2022. <a href=\"https:\/\/git-scm.com\/book\/en\/v2\/Git-Tools-Interactive-Staging\">Line-staging, a.k.a. interactive staging<\/a>, enables you to split your changed lines of code across different commits. Line-staging could also be utilized in reviewing your changes before committing them. Mark your changed lines or sections of code as reviewed by staging them and commit your staged changes when you are done.<\/p>\n<p style=\"text-align: center;\"><video controls=\"controls\" width=\"700\" height=\"400\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><source src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2022\/08\/Line-stagingM.mp4\" type=\"video\/mp4\" \/><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_end\">\ufeff<\/span><\/video><\/p>\n<p>Start using Line-staging by updating your Visual Studio 2022 to version 17.3 or later.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><div  class=\"d-flex justify-content-center\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/visualstudio.microsoft.com\/downloads\/\" target=\"_blank\">Download Visual Studio 2022<\/a><\/div><\/p>\n<p>&nbsp;<\/p>\n<p>Read our <a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/version-control\/git-line-staging\">Line-staging documentation<\/a> to learn more about how to use and customize this feature.<\/p>\n<p>&nbsp;<\/p>\n<h3>Other relevant blog posts<\/h3>\n<ul>\n<li><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/line-staging-interactive-staging\/\">Line-staging (Interactive Staging) &#8211; Visual Studio Blog (microsoft.com)<\/a><\/li>\n<li><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/vs2022-performance-enhancements-git-branch-switching\/\">VS2022 Performance Enhancements: Git Branch Switching &#8211; Visual Studio Blog (microsoft.com)<\/a><\/li>\n<li><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/introducing-new-git-features-to-visual-studio-2022\/#line-staging-interactive-staging\">Introducing new Git features to Visual Studio 2022 &#8211; Visual Studio Blog (microsoft.com)<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>Let us know what you think<\/h3>\n<p>We have benefitted greatly from all the rich feedback we\u2019ve received from you \u2013 thank you! We hope you\u2019ll help us continue to improve by giving the new Line-staging support a try and letting us know what you think by taking the following quick survey:<\/p>\n<p><div  class=\"d-flex justify-content-center\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/www.surveymonkey.com\/r\/VHCCLFC\" target=\"_blank\">Share Your Feedback<\/a><\/div><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are excited to announce the release of Line-staging support in Visual Studio 2022. Line-staging, a.k.a. interactive staging, enables you to split your changed lines of code across different commits. Line-staging could also be utilized in reviewing your changes before committing them. Mark your changed lines or sections of code as reviewed by staging them [&hellip;]<\/p>\n","protected":false},"author":4322,"featured_media":255385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[155],"tags":[],"class_list":["post-238920","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio"],"acf":[],"blog_post_summary":"<p>We are excited to announce the release of Line-staging support in Visual Studio 2022. Line-staging, a.k.a. interactive staging, enables you to split your changed lines of code across different commits. Line-staging could also be utilized in reviewing your changes before committing them. Mark your changed lines or sections of code as reviewed by staging them [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/238920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/4322"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=238920"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/238920\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/255385"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=238920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=238920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=238920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}