{"id":8238,"date":"2024-09-09T11:31:26","date_gmt":"2024-09-09T11:31:26","guid":{"rendered":"https:\/\/metaschool.so\/articles\/?p=8238"},"modified":"2024-12-12T11:35:20","modified_gmt":"2024-12-12T11:35:20","slug":"delete-git-branch","status":"publish","type":"post","link":"https:\/\/metaschool.so\/articles\/delete-git-branch\/","title":{"rendered":"Delete Git Branch Locally and Remotely &#8211; A Comprehensive Guide"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_56_1 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/metaschool.so\/articles\/delete-git-branch\/#Deleting_a_Branch_Locally_vs_Remotely\" title=\"Deleting a Branch Locally vs. Remotely\">Deleting a Branch Locally vs. Remotely<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/metaschool.so\/articles\/delete-git-branch\/#Lets_Get_Started\" title=\"Let&#8217;s Get Started\">Let&#8217;s Get Started<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/metaschool.so\/articles\/delete-git-branch\/#Delete_Git_Branch_Remotely\" title=\"Delete Git Branch: Remotely\">Delete Git Branch: Remotely<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/metaschool.so\/articles\/delete-git-branch\/#Delete_Git_Branch_Locally\" title=\"Delete Git Branch: Locally\">Delete Git Branch: Locally<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/metaschool.so\/articles\/delete-git-branch\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/metaschool.so\/articles\/delete-git-branch\/#FAQs\" title=\"FAQs\">FAQs<\/a><\/li><\/ul><\/nav><\/div>\n\n<p>In Git, branches play a crucial role in managing and organizing different lines of development within a repository. As projects evolve, some branches may become obsolete or need to be removed to keep the repository clean and manageable. Knowing how to delete git branches both locally and remotely is important for repository maintenance. It will help prevent clutter and ensure that your development environment remains focused on current, active branches. <\/p>\n\n\n\n<p>In this guide, we will walk you through the steps to delete Git branches locally and remotely. But first, it&#8217;s important to have an understanding of the differences between a local and remote Git branch.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Understanding Local and Remote Git Branches<\/h3>\n\n\n\n<p>The table below offers a clear and concise comparison of the differences between a local and remote branch, making it easy to understand their unique roles.<\/p>\n\n\n\n<figure class=\"wp-block-table aligncenter is-style-regular\"><table class=\"has-fixed-layout\"><thead><tr><th>Local Branch<\/th><th class=\"has-text-align-left\" data-align=\"left\">Remote Branch<\/th><\/tr><\/thead><tbody><tr><td>Exists only on your local machine.<\/td><td class=\"has-text-align-left\" data-align=\"left\">Exists on the remote repository (e.g., GitHub).<\/td><\/tr><tr><td>Visible only to you unless pushed.<\/td><td class=\"has-text-align-left\" data-align=\"left\">Visible to all collaborators with repository access.<\/td><\/tr><tr><td>Not automatically synced with the remote.<\/td><td class=\"has-text-align-left\" data-align=\"left\">Requires explicit pull or fetch to reflect changes.<\/td><\/tr><tr><td>Created locally with <code>git branch<\/code> or <code>checkout<\/code>.<\/td><td class=\"has-text-align-left\" data-align=\"left\">Created by pushing a local branch or directly on the remote.<\/td><\/tr><tr><td>For isolated, local development.<\/td><td class=\"has-text-align-left\" data-align=\"left\">For sharing and collaborating with a team.<\/td><\/tr><tr><td>Can track remote branches for easy syncing.<\/td><td class=\"has-text-align-left\" data-align=\"left\">Tracks changes made in the remote repository.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>While you are learning about Git, we highly recommend that as a developer you check out the free web3 and AI development courses on <a href=\"https:\/\/metaschool.so\/\">Metaschool<\/a>.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Deleting_a_Branch_Locally_vs_Remotely\"><\/span>Deleting a Branch Locally vs. Remotely<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Let&#8217;s learn about what it means to delete the git branch locally and remotely.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Deleting a local branch<\/strong> involves removing a branch from your copy of the repository on your local machine. When you delete Git branch locally, you are cleaning up your local workspace by removing branches that are no longer needed or relevant to your current development work. This operation does not affect other users or the central repository; it only removes the branch reference from your own environment.<\/li>\n\n\n\n<li><strong>Deleting a remote<\/strong> <strong>branch<\/strong> means removing a branch from the central repository, which is hosted on a remote server like GitHub, GitLab, or Bitbucket. Deleting a branch remotely affects all collaborators who have access to the central repository, as it removes the branch from the shared environment. This action is typically performed when a branch is no longer needed by the team, such as after a feature has been integrated or a bug fix has been applied.<\/li>\n<\/ol>\n\n\n\n<p>Local branch deletion is particularly useful for tidying up after merging features or completing tasks, ensuring that your local repository remains uncluttered and manageable. On the other hand, removing a remote branch can help maintain an organized and up-to-date repository for all team members by reducing clutter in the central repository.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Lets_Get_Started\"><\/span>Let&#8217;s Get Started<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>For demonstration purposes, I created a <a href=\"https:\/\/github.com\/\" target=\"_blank\" rel=\"noopener\">Github<\/a> repository <em>demoRepo<\/em> with two branches <em>main<\/em> and <em>Branch1<\/em>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1918\" height=\"905\" src=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-174724.png\" alt=\"delete git branch\" class=\"wp-image-8243\" style=\"object-fit:cover\" srcset=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-174724.png 1918w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-174724-300x142.png 300w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-174724-1024x483.png 1024w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-174724-150x71.png 150w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-174724-768x362.png 768w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-174724-1536x725.png 1536w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-174724-1320x623.png 1320w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/figure>\n<\/div>\n\n\n<p>Before you start managing branches in Git, it&#8217;s essential to have a local copy of the repository you\u2019re working with. If you haven&#8217;t already cloned the repository, you&#8217;ll need to do so to access and modify its branches. To clone a repository, use the <code>git clone &lt;repository's URL&gt;<\/code> (as shown below). This command creates a local copy of the repository on your machine, including all of its branches and history.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1915\" height=\"908\" src=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180006.png\" alt=\"delete git branch\" class=\"wp-image-8244\" srcset=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180006.png 1915w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180006-300x142.png 300w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180006-1024x486.png 1024w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180006-150x71.png 150w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180006-768x364.png 768w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180006-1536x728.png 1536w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180006-1320x626.png 1320w\" sizes=\"auto, (max-width: 1915px) 100vw, 1915px\" \/><\/figure>\n\n\n\n<p>Once the repository has successfully cloned, we use the <code>git branch -a<\/code> to list all the branches associated with this repository. This command includes both local branches (those stored on your local machine) and remote-tracking branches (those that track branches on remote repositories).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1919\" height=\"906\" src=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180218-1.png\" alt=\"delete git branch\" class=\"wp-image-8248\" srcset=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180218-1.png 1919w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180218-1-300x142.png 300w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180218-1-1024x483.png 1024w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180218-1-150x71.png 150w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180218-1-768x363.png 768w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180218-1-1536x725.png 1536w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180218-1-1320x623.png 1320w\" sizes=\"auto, (max-width: 1919px) 100vw, 1919px\" \/><\/figure>\n\n\n\n<p>The first two lines of the output show the branches present locally. The rest of the lines represent the branches that exist remotely.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Delete_Git_Branch_Remotely\"><\/span>Delete Git Branch: Remotely<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Use the <code>git push origin --delete &lt;branch name&gt;<\/code> command to delete git branch remotely.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1916\" height=\"906\" src=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180350.png\" alt=\"delete git branch\" class=\"wp-image-8249\" srcset=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180350.png 1916w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180350-300x142.png 300w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180350-1024x484.png 1024w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180350-150x71.png 150w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180350-768x363.png 768w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180350-1536x726.png 1536w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180350-1320x624.png 1320w\" sizes=\"auto, (max-width: 1916px) 100vw, 1916px\" \/><\/figure>\n\n\n\n<p>Now if you go back and refresh the repository&#8217;s Github page, you will notice that the <em>Branch1<\/em> branch is gone &#8211; the branch was successfully deleted. You can also use the <code>git branch -a<\/code> command to see all the existing branches.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1916\" height=\"909\" src=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180451-1.png\" alt=\"delete git branch\" class=\"wp-image-8252\" srcset=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180451-1.png 1916w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180451-1-300x142.png 300w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180451-1-1024x486.png 1024w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180451-1-150x71.png 150w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180451-1-768x364.png 768w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180451-1-1536x729.png 1536w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180451-1-1320x626.png 1320w\" sizes=\"auto, (max-width: 1916px) 100vw, 1916px\" \/><\/figure>\n\n\n\n<p>The last two lines of the output show the remote branches, where you will notice <em>Branch1 <\/em> is not present. But <em>Branch1 <\/em>still exists locally.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Delete_Git_Branch_Locally\"><\/span>Delete Git Branch: Locally<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Use the <code>git branch --delete &lt;branch name&gt;<\/code> command to delete git branch remotely.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1916\" height=\"912\" src=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180600-1.png\" alt=\"delete git branch\" class=\"wp-image-8253\" srcset=\"https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180600-1.png 1916w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180600-1-300x143.png 300w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180600-1-1024x487.png 1024w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180600-1-150x71.png 150w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180600-1-768x366.png 768w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180600-1-1536x731.png 1536w, https:\/\/metaschool.so\/articles\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-06-180600-1-1320x628.png 1320w\" sizes=\"auto, (max-width: 1916px) 100vw, 1916px\" \/><\/figure>\n\n\n\n<p>And as you can see the output of <code>git branch -a<\/code> shows that <em>Branch1 <\/em> has also been successfully deleted remotely.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Effectively managing Git branches is crucial for maintaining a clean and organized repository. Deleting branches\u2014whether locally or remotely\u2014helps ensure that your project remains focused on active and relevant lines of development. By following the steps outlined in this guide, you can efficiently remove obsolete branches and keep your repository streamlined.<\/p>\n\n\n\n<p>Here is a quick summary of the steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Clone the Repository<\/strong>: Begin by creating a local copy of the repository using <code>git clone &lt;repository's URL&gt;<\/code>. This step provides you with access to all branches and the repository&#8217;s history.<\/li>\n<\/ol>\n\n\n\n<p>2. <strong>List All Branches<\/strong>: Use <code>git branch -a<\/code> to view both local and remote-tracking branches. This helps you understand which branches are available and their current status.<\/p>\n\n\n\n<p>3. <strong>Perform Deletion Commands<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To delete git branch remotely, use <code>git push origin --delete &lt;branch name&gt;<\/code>.<\/li>\n\n\n\n<li>To delete git branch locally, use <code>git branch -d &lt;branch name&gt;<\/code>.<\/li>\n<\/ul>\n\n\n\n<p><strong>Related Reading:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/metaschool.so\/articles\/remove-untracked-files-from-git\">How to Remove Untracked Files from Git?<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/metaschool.so\/articles\/setting-up-the-development-environment-for-core\/\">How to Generate Gits\u2019 Personal Access Token<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/metaschool.so\/articles\/how-to-become-a-software-developer\/\">How to Become a Software Developer<\/a><\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"FAQs\"><\/span>FAQs<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1725873403365\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \">What to do if I accidentally delete a branch?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>1. Go to the Github repository page.<br \/>2. Click <strong>Activity<\/strong> &#8211;&gt; <strong>Branch deletions<\/strong>.<br \/>3. Look for the name of the branch you deleted by mistake.<br \/>4. Click the three dots &#8211;&gt; <strong>Restore Branch<\/strong>.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1725873821927\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \">How to view all branches in a repository?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>The command <code>git branch -a<\/code> lists all branches associated with the repository. This includes both local branches and remote-tracking branches.<\/p>\n<p>Here&#8217;s a breakdown of what you see when you run <code>git branch -a<\/code>:<br \/><strong>Local branches<\/strong>: These are listed without any special notation.<br \/><strong>Remote-tracking branches<\/strong>: These typically appear in the format <code>remotes\/origin\/branch-name<\/code>, where <code>origin<\/code> is the name of the remote repository and <code>branch-name<\/code> is the name of the branch on that remote.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1725874006429\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \">Can I delete multiple branches at once in Git?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Yes, you can delete multiple branches at once in Git, but the method varies depending on whether you are dealing with local or remote branches. For local branches, you can specify multiple branch names in a single operation to streamline the process. For remote branches, you may need to use separate commands or scripts to delete several branches at once. Always verify which branches you are removing to avoid accidentally deleting important ones.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":19,"featured_media":10935,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":"[]"},"categories":[292],"tags":[360,359],"class_list":["post-8238","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-answers","tag-git","tag-github"],"_links":{"self":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts\/8238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/comments?post=8238"}],"version-history":[{"count":25,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts\/8238\/revisions"}],"predecessor-version":[{"id":11238,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/posts\/8238\/revisions\/11238"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/media\/10935"}],"wp:attachment":[{"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/media?parent=8238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/categories?post=8238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/metaschool.so\/articles\/wp-json\/wp\/v2\/tags?post=8238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}