{"id":9721,"date":"2013-01-30T08:49:00","date_gmt":"2013-01-30T08:49:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/2013\/01\/30\/getting-started-with-git-in-visual-studio-and-team-foundation-service\/"},"modified":"2022-08-01T07:19:05","modified_gmt":"2022-08-01T15:19:05","slug":"getting-started-with-git-in-visual-studio-and-team-foundation-service-2","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/getting-started-with-git-in-visual-studio-and-team-foundation-service-2\/","title":{"rendered":"Getting Started with Git in Visual Studio and Team Foundation Service"},"content":{"rendered":"<p>By <a href=\"http:\/\/social.msdn.microsoft.com\/profile\/matthew%20mitrik%20(ms)\/\">Matthew Mitrik (MS)<\/a>, <a href=\"http:\/\/social.msdn.microsoft.com\/profile\/andy%20lewis%20-%20msft\/\">Andy Lewis<\/a>, and <a href=\"http:\/\/social.msdn.microsoft.com\/profile\/martin%20woodward\/\">Martin Woodward<\/a><\/p>\n<p>Today we <a href=\"http:\/\/tfs.visualstudio.com\/en-us\/home\/news\/2013\/jan-30\/\">announced<\/a> the availability of Git for Visual Studio and Team Foundation Service. In this post, we&#8217;ll walk through the new experiences.<\/p>\n<div style=\"background-color: lightyellow;padding: 3px 3px 5px 15px\">\n<p>\n    <strong>Get set up:<\/strong> <a href=\"https:\/\/tfs.app.visualstudio.com\/_account\/Signup\">Get the free service<\/a>, and then you can use it with any Git client tools you want, including Visual Studio. To use the Visual Studio client tools you&#8217;ll need to <a href=\"http:\/\/go.microsoft.com\/fwlink\/p\/?LinkId=254509\">install Visual Studio 2012<\/a>, <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkId=273878\">apply Visual Studio 2012 Update 2 CTP<\/a>, and finally <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=275845\">install Visual Studio Tools for Git<\/a>. You can use these client tools with any Git service you want.\n  <\/p>\n<\/div>\n<h2>Choose between TFVC and Git<\/h2>\n<p>With this announcement, each time you create a new team project we give you a choice: Team Foundation Version Control (TFVC) or Git? The best option for you depends on a lot of factors, including size of codebase, team size, and team distribution to name a few. Now that Git is fully integrated with TFS, the decision depends solely on what your team needs from version control. Looking at the strengths and features of each system can help make the decision easier.<\/p>\n<h2>Team Foundation Version Control (TFVC)<\/h2>\n<p>TFVC is a centralized version control system. While it works well for small teams with small code bases, TFVC is capable of scaling to support very large codebases (millions of files per branch with server workspaces) and it handles large binary files well. TFVC provides very granular permission control, allowing teams to restrict access down to a file level if needed. Since all contributions are checked in to the central server, it is very easy to audit changes and identify exactly which user committed a given code change.<\/p>\n<p>Learn more about <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/vstudio\/ms181368.aspx\">TFVC on MSDN<\/a>.<\/p>\n<h2>Git<\/h2>\n<p>Git is a distributed version control system where each developer has a copy of the entire source repository. Having a local repository means that Git works well in environments where developers need to work without connectivity. It also offers a simple branching model that enables developers to quickly create local and private branches, enabling flexible workflows. Git also works well in modular codebases where code is distributed across many repositories.<\/p>\n<p>Learn more about <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/vstudio\/ms181368.aspx\">Git on MSDN<\/a>.<\/p>\n<p>Ultimately, much of the decision about which version control system to use is about preference. Both systems are equally capable for the majority of teams. Make sure your team is happy with the version control system you choose.<\/p>\n<h2>Create a Git team project in Team Foundation Service<\/h2>\n<p>You can quickly spin up a new Git team project with just a few clicks.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/1373.NewGitProject.png\" alt=\"\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/4370.NewGitProject2.png\" alt=\"\" \/><\/p>\n<p>In the next section we&#8217;ll tell you more about how to connect to your new team project from VS. Also, we&#8217;ll talk about another option you have to begin from your local dev machine instead of from a team project.<\/p>\n<p>\u00a0<\/p>\n<h2>Use Visual Studio with Git<\/h2>\n<p>Git provides powerful DVCS features that enable your team to collaborate on an app. But Git&#8217;s user interface can be difficult to use, and to get full value from it you may need to bring separate tools together. Visual Studio provides an integrated experience that makes it easy for your team to leverage the power of Git. And if you are a Git pro who has some favorite Git tools you still want to use, you can use them alongside Visual Studio.<\/p>\n<p>If your Git repository is in a TFS team project, you get additional benefits from the integration with other TFS features such as work items.\u00a0 But even if you are not using TFS, you can use Visual Studio with Git to work on a completely local repository, or to collaborate using Git hosters such as GitHub and BitBucket.<\/p>\n<h2>To get going, connect and clone<\/h2>\n<p>When you are ready to begin working in your Git team project, you begin by connecting to it. Once you&#8217;ve connected to your new Git project, you&#8217;ll be prompted to Clone the repository in the team project onto your dev machine.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/0753.Clone_.png\" alt=\"\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/3480.Clone2_.png\" alt=\"\" \/><\/p>\n<p>After you cloned from a Git team project, you will have two entries for this codebase, one under Team Foundation Service and one under Local Git Repositories.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/3302.Clone3_.png\" alt=\"\" \/><\/p>\n<p>You can also use the tools to clone from any hosted Git repository.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/3302.Clone4_.png\" alt=\"\" \/><\/p>\n<p>\u00a0<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/6557.Clone5_.png\" alt=\"\" \/><\/p>\n<h2>Or, just start coding locally<\/h2>\n<p>Maybe one of the coolest features of Visual Studio with Git is that in just a few seconds, you can be writing code on a new project under local version control. Want to try it? You can <a href=\"http:\/\/tfs.visualstudio.com\/en-us\/learn\/code\/create-code-project-vs-git\/\">create a new code project<\/a> in a new local Git repository in less than a minute:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/1033.VSGitCodeProjCreate03.png\" alt=\"\" title=\"\" \/><\/p>\n<p>You can continue coding and committing locally for as long as you like. When you are ready to share and collaborate, just <a href=\"http:\/\/tfs.visualstudio.com\/en-us\/learn\/code\/publish-new-team-project-vs-git\/\">publish your code into TFS<\/a>, or into whatever Git service your team uses (e.g. CodePlex, GitHub, Bitbucket).<\/p>\n<p>\u00a0<\/p>\n<h2>Customize your settings<\/h2>\n<p>Git associates each commit you create with your name and email address. When you first begin using Visual Studio with Git on your dev machine, if you begin by cloning from a Git team project, then Visual Studio fills these in for you.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/8400.Settings3.png\" alt=\"\" \/><\/p>\n<p>You can override the name and email settings and specify other settings.<\/p>\n<p><strong>Enable download of author images from 3rd party source<\/strong>: Visual Studio can display author images on commits.\u00a0 By default it uses the image in the user&#8217;s TFS profile. If the user doesn&#8217;t have an image set, an image from <a href=\"http:\/\/en.gravatar.com\/\">Gravatar<\/a> will be used.<\/p>\n<p><strong>Ignore File<\/strong>: To avoid checking in temporary non-source items such as binaries, you can specify a .gitignore file. See <a href=\"http:\/\/git-scm.com\/book\/en\/Git-Basics-Recording-Changes-to-the-Repository#Ignoring-Files\">Ignoring files<\/a> and <a href=\"http:\/\/git-scm.com\/docs\/gitignore\">gitignore(5) Manual Page<\/a>.<\/p>\n<p><strong>Attributes File<\/strong>: To specify options such as how the system handles line-breaks, you can specify a .gitattributes file. See <a href=\"http:\/\/git-scm.com\/book\/en\/Customizing-Git-Git-Attributes\">Customizing Git &#8211; Git Attributes<\/a>.<\/p>\n<p>For more information on Git settings, see <a href=\"http:\/\/git-scm.com\/book\/en\/Customizing-Git-Git-Configuration\">Customizing Git &#8211; Git Configuration<\/a>.<\/p>\n<h2>Commit changes locally<\/h2>\n<p>As you write your code, you can commit to create a snapshot of your changes on your dev machine as often as you like. You can associate a work item with your commit by specifying its id in the comment.\u00a0<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/7888.Commit3.png\" alt=\"\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/0878.Commit2.png\" alt=\"\" \/><\/p>\n<p>Later when you push your local repository to the Git team project, the commit will be associated with work item 255. In TFS you can also associate a work item with a commit after it has been pushed using the Links tab in the work item.<\/p>\n<h2>Pull<\/h2>\n<p>To ensure your code integrates well with the latest code from the team, you should pull changes on a regular basis. Also, if there are any changes in the remote branch, you must pull them before you can push.<\/p>\n<p>Before you pull, you can fetch to see what changes are coming.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/3286.VSGitPull02.png\" alt=\"\" title=\"\" \/><\/p>\n<p>When you are ready to take the changes, pull them.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/8867.VSGitPull08.png\" alt=\"\" title=\"\" \/><\/p>\n<p>For step-by-step instructions, see <a href=\"http:\/\/tfs.visualstudio.com\/en-us\/learn\/code\/pull-vs-git\/\">Pull changes from the team<\/a>.<\/p>\n<h2>Push<\/h2>\n<p>When you are ready to push the changes in your selected branch, just click Push.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/3247.Push_.png\" alt=\"\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/2678.Push2_.png\" alt=\"\" \/><\/p>\n<p>For step-by-step instructions, see <a href=\"http:\/\/tfs.visualstudio.com\/en-us\/learn\/code\/push-vs-git\/\">Push your changes<\/a>.<\/p>\n<h2>Create and use branches<\/h2>\n<p>Git branches differ from TFVC branches in a few ways. Git branches are local (and thus private) until pushed. They are also more lightweight, so you can quickly create a branch on your dev machine whenever you need one.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/8105.Branch.png\" alt=\"\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/6562.Branch2.png\" alt=\"\" \/><\/p>\n<p>You can switch the branch you are working in from Changes and Commits pages.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/0246.BranchPicker.png\" alt=\"\" \/><\/p>\n<p>When you are ready, you merge to combine the work.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/8321.Merge_.png\" alt=\"\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/4621.Conflict.png\" alt=\"\" \/><\/p>\n<p>For more details on how branches work in Git, see <a href=\"http:\/\/git-scm.com\/book\/en\/Git-Branching\">Git Branching<\/a>.<\/p>\n<h2>Resolve conflicts<\/h2>\n<p>Sometimes you will need to resolve conflicts before you can complete a pull or a merge.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/6076.Conflict2.png\" alt=\"\" \/><\/p>\n<p>Visual Studio makes it easy for you to resolve some of the most common kinds of conflicts, such as content conflicts.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/6406.Conflict3.png\" alt=\"\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/7624.Conflict4.png\" alt=\"\" \/><\/p>\n<p>Some conflicts (such as rename conflicts) must be resolved using a command-line tool such as <a href=\"http:\/\/git-scm.com\/download\/win\">Msysgit<\/a>.<\/p>\n<h2>View History<\/h2>\n<p>You can view the history of an item from Solution Explorer or from the Changes page. You can also view the history of an entire branch from the Branches page.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/0407.History.png\" alt=\"\" \/><\/p>\n<h2>Web Access<\/h2>\n<p>After commits have been pushed into the repo, the Code hub starts to look a lot more interesting.<\/p>\n<h2>Explorer view<\/h2>\n<p>The Explorer view is the center of the browse experience in the web. You can drill in to the contents of a repository and see the commit message and author of the latest changes to each folder and file.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/4035.Explore.png\" alt=\"\" \/><\/p>\n<h3>History<\/h3>\n<p>As you&#8217;re exploring the repo, you can easily switch to the History view to view the history of a file or folder. The history view is a similar to the VS view, providing the comment, author, and time of the commit. Off to the left is an indicator showing relative size of each commit.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/3782.WebHistory.png\" alt=\"\" \/><\/p>\n<h3>Compare files<\/h3>\n<p>Using the Compare view, you can compare versions of a file in either a side-by-side or inline diff view, complete with syntax highlighting.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/6406.WebCompare.png\" alt=\"\" \/><\/p>\n<h2>Commits view<\/h2>\n<p>To see an all-up view of the repo history, use the commits view. By default, the view shows all changes, but you can filter to view just your commits, or use the Advanced search to filter down the list by author, path, and\/or date.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/7077.WebCommits.png\" alt=\"\" \/><\/p>\n<h3>Commit Details<\/h3>\n<p>Drilling in on a commit shows the detailed metadata for the commit, including associated work items. Each file modified in the commit is also shown with an inline diff to summarize the changes.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/2604.WebCommitDetails2.png\" alt=\"\" \/><\/p>\n<h2>Pivot on branch or tag<\/h2>\n<p>In any of the views in the Code hub, the branch selector may be used to pivot the entire repo view by branch. If you&#8217;ve pushed any tags to the repo, they&#8217;ll be shown in the same picker.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/0272.WebBranchPivot.png\" alt=\"\" \/><\/p>\n<h2>Xcode<\/h2>\n<p>Developers using Xcode will be able to use the existing Git integration to work with repos hosted in Team Foundation Service. Be sure to <a href=\"https:\/\/tfs.visualstudio.com\/en-us\/home\/news\/2012\/aug-27\/\">enable alternate credentials<\/a> (basic auth) for your TF Service user profile before trying to push and pull from Xcode (or any other third party Git client for that matter). Note that you can get the clone URL from the Explore view in the project&#8217;s web portal.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/8507.XCode_.png\" alt=\"\" width=\"740\" \/><\/p>\n<h2>Team Foundation Build and Git<\/h2>\n<p>The cloud build service can be used to build Git projects much like you can build TFVC projects.<\/p>\n<h2>Configure a manual build<\/h2>\n<p>Configuring a build for Git projects is similar to configuring TFVC builds. You can start by clicking New Build Definition in the Builds page in Team Explorer.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/6378.Build_.png\" alt=\"\" \/><\/p>\n<p>In the build definition editor, give your build a name and a description. On the process page specify the branch you want to build and the relative path to the solution file to build. Note that only the manual trigger is currently available, but we&#8217;re working on adding more.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/8512.Build3_.png\" alt=\"\" \/><\/p>\n<p>Queue a new build from the Builds page. Remember, you need to push your commits to the service in order to build them.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/8461.Build4_.png\" alt=\"\" \/><\/p>\n<h2>Build report<\/h2>\n<p>After the build has completed, the build report shows that the build succeeded.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2013\/01\/2728.Build5_.png\" alt=\"\" \/><\/p>\n<h2>Next steps<\/h2>\n<h2>Downloads<\/h2>\n<ul>\n<li><a href=\"https:\/\/tfs.app.visualstudio.com\/_account\/Signup\">Sign up for a TFS account<\/a><\/li>\n<li><a href=\"http:\/\/go.microsoft.com\/fwlink\/p\/?LinkId=254509\">Visual Studio 2012<\/a><\/li>\n<li><a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkId=273878\">Visual Studio 2012 Update 2 CTP<\/a><\/li>\n<li><a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=275845\">Visual Studio Tools for Git<\/a><\/li>\n<\/ul>\n<h2>More information<\/h2>\n<ul>\n<li><a href=\"http:\/\/tfs.visualstudio.com\/en-us\/learn\/code\/create-code-project-vs-git\/\">Learn on the Welcome Portal<\/a><\/li>\n<li><a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/vstudio\/hh850437.aspx\">Git documentation<\/a><\/li>\n<\/ul>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By Matthew Mitrik (MS), Andy Lewis, and Martin Woodward Today we announced the availability of Git for Visual Studio and Team Foundation Service. In this post, we&#8217;ll walk through the new experiences. Get set up: Get the free service, and then you can use it with any Git client tools you want, including Visual Studio. [&hellip;]<\/p>\n","protected":false},"author":73,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[253,1,225],"tags":[],"class_list":["post-9721","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure-devops-server","category-devops","category-git"],"acf":[],"blog_post_summary":"<p>By Matthew Mitrik (MS), Andy Lewis, and Martin Woodward Today we announced the availability of Git for Visual Studio and Team Foundation Service. In this post, we&#8217;ll walk through the new experiences. Get set up: Get the free service, and then you can use it with any Git client tools you want, including Visual Studio. [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/9721","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\/73"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=9721"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/9721\/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=9721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=9721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=9721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}