{"id":35686,"date":"2017-09-01T10:00:51","date_gmt":"2017-09-01T10:00:51","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/devops\/?p=35686"},"modified":"2019-02-14T15:51:17","modified_gmt":"2019-02-14T23:51:17","slug":"git-forks-now-in-public-preview","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/git-forks-now-in-public-preview\/","title":{"rendered":"Git forks now in public preview"},"content":{"rendered":"<p>Forks &#8211; the ability to create a server-side copy of a Git repository &#8211; is rolling out across Visual Studio Team Services (VSTS) and available in TFS 2018 RC1 as a public preview. In VSTS, you won&#8217;t have to do anything to turn it on, it&#8217;ll be available by default. If it&#8217;s not on for you yet, it will be after the current deployment finishes. <em style=\"font-size: 80%;\">[edited 2017-09-06 to clarify product names and availability of the feature]<\/em><\/p>\n<p>A fork is a complete copy of a repository&#8217;s contents (files, commits, branches, and tags). Don&#8217;t worry, it&#8217;s stored very efficiently on the back end. Forks are a great way to isolate experimental, risky, or confidential changes. Once you&#8217;re ready to share changes, it&#8217;s easy to use pull requests to get those changes back to the original repository. To get started, click the Fork button in your repository!<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-35695\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2017\/09\/fork-button-300x149.png\" alt=\"Fork button next to clone button\" width=\"300\" height=\"149\" \/><\/p>\n<p>You can turn forks off on a per-repository basis (check Options in the Version Control admin area). If you aren&#8217;t ready for forks in your account, you can disable it account-wide in the Preview Features area.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-35697\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2017\/09\/fork-setting-300x95.png\" alt=\"\" width=\"300\" height=\"95\" \/> <img decoding=\"async\" class=\"alignnone size-medium wp-image-35705\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2017\/09\/fork-preview-300x167.png\" alt=\"\" width=\"300\" height=\"167\" \/><\/p>\n<p>As we stated in the <a href=\"https:\/\/www.visualstudio.com\/en-us\/articles\/news\/2017\/aug-28-team-services#fork-a-repo\">release notes<\/a>, this is just the beginning for forks. Right now, you&#8217;re limited to forking within a single VSTS account. A lot of our biggest customers have multiple accounts, and we plan to support forking across those accounts.<\/p>\n<p>Also, you must have the &#8220;Create repository&#8221; permission in a project to successfully create the fork. Most users don&#8217;t have that by default. Admins, we recommend creating a project as a container for forks and granting your developers the &#8220;Create repository&#8221; permission in it. We plan to build a &#8220;personal&#8221; area that will serve as the default target for forks.<\/p>\n<p>We&#8217;re very interested in your feedback! Feel free to comment here, or email me at mattc@xbox.com. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Forks &#8211; the ability to create a server-side copy of a Git repository &#8211; is rolling out across Visual Studio Team Services (VSTS) and available in TFS 2018 RC1 as a public preview. In VSTS, you won&#8217;t have to do anything to turn it on, it&#8217;ll be available by default. If it&#8217;s not on for [&hellip;]<\/p>\n","protected":false},"author":719,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,225],"tags":[],"class_list":["post-35686","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","category-git"],"acf":[],"blog_post_summary":"<p>Forks &#8211; the ability to create a server-side copy of a Git repository &#8211; is rolling out across Visual Studio Team Services (VSTS) and available in TFS 2018 RC1 as a public preview. In VSTS, you won&#8217;t have to do anything to turn it on, it&#8217;ll be available by default. If it&#8217;s not on for [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/35686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/719"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=35686"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/35686\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=35686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=35686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=35686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}