{"id":14357,"date":"2020-07-24T12:11:52","date_gmt":"2020-07-24T19:11:52","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=14357"},"modified":"2023-12-01T03:56:03","modified_gmt":"2023-12-01T11:56:03","slug":"git-revert-commit","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/git-revert-commit\/","title":{"rendered":"Git Revert Commit: A Step-By-Step Guide"},"content":{"rendered":"\n<p><em>The git revert command will undo a commit so you can return a repository to the previous commit. Instead of deleting the commit, revert will create a new commit that will reverse the changes of a published commit. This preserves the initial commit as a part of the project\u2019s history.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>When you\u2019re working with a Git repository, you may accidentally create a commit with code that isn\u2019t ready to be stored in your Git repository.<\/p>\n\n\n\n<p>That\u2019s where the git revert command comes in. The git revert command allows you to <code>undo<\/code> a commit so that you can return a repository to the previous commit.<\/p>\n\n\n\n<p>This tutorial will discuss, with examples, reverting code and how to use the git revert command to revert your code. By the end of reading this tutorial, you\u2019ll be an expert at reverting code using the git revert commit command.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Reverting Your Code<\/h2>\n\n\n\n<p>Sometimes, when you are working with a Git repository, you may notice that you\u2019ve made a mistake in your commit.<\/p>\n\n\n\n<p>For instance, suppose you have just finished working on a new feature, and you\u2019ve realized that there is a bug that needs to be fixed. When you commit the bug fix, you also notice that you have committed the working directory for the new feature you are developing. <\/p>\n\n\n\n<p>This means that your commit includes both a bug fix and a new feature, which may be confusing for other collaborators on a project to understand. Instead of committing both of these changes at the same time, you wanted to include them in two separate commits.<\/p>\n\n\n\n<p>In this scenario, you may want to revert your repository to the state it was in before you pushed the commit. This will give you another chance to push your commits in git by reverting the last commit.  <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Git Revert Command<\/h2>\n\n\n\n<p>The git revert command allows you to <code>undo<\/code> a commit. However, instead of deleting a commit from a project, the git revert command finds the changes between the last two commits and creates a new commit that reverses those changes.<\/p>\n\n\n\n<p>The git revert command is useful because it allows you to preserve the project history of a repository. Rather than deleting a commit entirely, it allows you to revert a repository to another commit, so you can still keep an accurate record of every commit you have pushed to a repository.<\/p>\n\n\n\n<p>You should use the git revert command in situations where you want to reverse your last commit. Instead of manually making the changes you need to make to your last commit, you can revert your commit and push a new one to the codebase.<\/p>\n\n\n\n<p>The syntax for the git revert command is as follows:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git revert<\/pre><\/div>\n\n\n\n<p>Let\u2019s walk through an example to illustrate how this command works.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Git Revert Example<\/h2>\n\n\n\n<p>On our local machine, we have an example repository with one file: README.md. We have just made a change to the file that we want to push to a commit. We can do so using this code:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git commit -m &quot;docs: Update README.md with author info&quot;<\/pre><\/div>\n\n\n\n<p>This command, when executed, creates a commit with the message <code>docs: Update README.md with author info<\/code>. We have also just made another change to our README.md file, which we commit to our repo using this command: <\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git commit -m &quot;docs: Update order of authors by contributions&quot;<\/pre><\/div>\n\n\n\n<p>This command creates another commit in our repository. If we use the git log &#8211;pretty=oneline command (which shows us a short list of our commits), we can see that there are two commits in our repo history:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>6f52d877873e7d3b52c929647384dfdf2488da22 (HEAD -&gt; master) docs: Update order of authors by contributions\n57d763663e619088159bb7629243456f88feab79 docs: Update README.md with author info<\/pre><\/div>\n\n\n\n<p>Now, suppose we decide that we want to revert our last commit. We realize that the order in which we wrote the authors in our README.md file was incorrect, and so we need to revert our repository back to the state it was in before we pushed our last commit.<\/p>\n\n\n\n<p>We could do so using this command:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git revert HEAD<\/pre><\/div>\n\n\n\n<p>When we run this command, our default text editor opens and prompts us to create a message for our commit. In this command, HEAD refers to the latest commit. In our example, we type in the message <code>revert author order commit<\/code>. Then, the command returns the following: <\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>[master b66c29a] revert author order commit &quot;docs: Update order of authors by contributions&quot;\n 1 file changed, 1 deletion(-)<\/pre><\/div>\n\n\n\n<p>Now, when we run the git log &#8211;pretty=oneline command, we can see a new commit has been created: <\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>b66c29a8c4c226fa9ae8cd8f9e086c0a73e6ecfe (HEAD -&gt; master) revert author order commit &quot;docs: Update order of authors by contributions&quot;\n6f52d877873e7d3b52c929647384dfdf2488da22 docs: Update order of authors by contributions\n57d763663e619088159bb7629243456f88feab79 docs: Update README.md with author info<\/pre><\/div>\n\n\n\n<p>Our commit history now lists three commits. Instead of deleting our last commit, the git revert command created a new commit that has undone the changes of the previous commit. This means that we still have a complete history of all the commits we pushed to our repository.<\/p>\n\n\n\n<p>The git revert command needs a commit reference to execute. In this case, we specified HEAD, which reverts our repository to the last commit.<\/p>\n\n\n\n<p>If we wanted to revert back to another commit, we could specify the hash value for that commit. So, instead of stating <code>HEAD<\/code> in our command, we could use a hash returned by the git log command to revert to a commit of our choosing. Here\u2019s an example the command we would use to revert a repository back to a specific commit:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git revert 57d763663e619088159bb7629243456f88feab79<\/pre><\/div>\n\n\n\n<p>This command would revert our repository to the commit with the SHA hash <code>57d763663e619088159bb7629243456f88feab79<\/code>. In this repository, that hash corresponds with the first commit we made to our repo.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Git Revert vs. Reset<\/h2>\n\n\n\n<p>The revert and reset commands are both used to undo changes from earlier commits in a Git repository. However, you should be aware that these commands do have slightly different behaviors.<\/p>\n\n\n\n<p>The git revert command line operation is used to undo the previous commit. When you run git revert, the changes between two commits are undone. Then, a new commit is created which contains the code in your repo after the changes have been undone.<\/p>\n\n\n\n<p>The git reset command, on the other hand, reverts a repository back to its previous state by removing all commits between a certain range. So, if you run git reset and reference a previous commit, all commits between the current state of the repository and that commit will be deleted.<\/p>\n\n\n\n<p>Reverting a commit is often preferred over resetting a commit. The main reason is because git revert does not change the history of your project. This allows you, the developer, to maintain an accurate record of all the changes made to a project.<\/p>\n\n\n\n<p>In addition, the git revert command allows you to revert to an individual commit at a certain point in your repository\u2019s history. The git reset command, on the other hand, only works back from the commit which you are currently on.<\/p>\n\n\n\n<p>This means that, if you wanted to undo a commit far back in the history of your repository, you would have to remove all the commits before that point, then commit your changes. This makes it difficult to preserve an accurate record of the history of your repository, which is a crucial part of effectively using source control tools like Git.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The git revert command allows you to undo the changes you have made to a code repository since a specific commit. Instead of deleting a commit, the git revert command identifies the changes between the current commit and a previous commit and creates a new commit to revert those changes.<\/p>\n\n\n\n<p>This tutorial discussed how to use the git revert command to revert a commit in Git. Now you\u2019re ready to start reverting commits using the git revert commit command like a professional developer!<\/p>\n","protected":false},"excerpt":{"rendered":"The git revert command will undo a commit so you can return a repository to the previous commit. Instead of deleting the commit, revert will create a new commit that will reverse the changes of a published commit. This preserves the initial commit as a part of the project\u2019s history. When you\u2019re working with a&hellip;","protected":false},"author":240,"featured_media":14358,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[17286],"tags":[],"class_list":{"0":"post-14357","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-git"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"Git","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Git Revert Commit: A Step-By-Step Guide | Career Karma<\/title>\n<meta name=\"description\" content=\"The git revert command can undo the changes made between two commits. On Career Karma, learn how to use the git revert command.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/git-revert-commit\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Git Revert Commit: A Step-By-Step Guide\" \/>\n<meta property=\"og:description\" content=\"The git revert command can undo the changes made between two commits. On Career Karma, learn how to use the git revert command.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/git-revert-commit\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-24T19:11:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:56:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/apartment-apple-building-business-265125.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"680\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gallagher\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/git-revert-commit\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/git-revert-commit\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Git Revert Commit: A Step-By-Step Guide\",\"datePublished\":\"2020-07-24T19:11:52+00:00\",\"dateModified\":\"2023-12-01T11:56:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/git-revert-commit\/\"},\"wordCount\":1224,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/git-revert-commit\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/apartment-apple-building-business-265125.jpg\",\"articleSection\":[\"Git\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/git-revert-commit\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/git-revert-commit\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/git-revert-commit\/\",\"name\":\"Git Revert Commit: A Step-By-Step Guide | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/git-revert-commit\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/git-revert-commit\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/apartment-apple-building-business-265125.jpg\",\"datePublished\":\"2020-07-24T19:11:52+00:00\",\"dateModified\":\"2023-12-01T11:56:03+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"The git revert command can undo the changes made between two commits. On Career Karma, learn how to use the git revert command.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/git-revert-commit\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/git-revert-commit\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/git-revert-commit\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/apartment-apple-building-business-265125.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/apartment-apple-building-business-265125.jpg\",\"width\":1020,\"height\":680},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/git-revert-commit\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/careerkarma.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Git\",\"item\":\"https:\/\/careerkarma.com\/blog\/git\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Git Revert Commit: A Step-By-Step Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\",\"url\":\"https:\/\/careerkarma.com\/blog\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/careerkarma.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Git Revert Commit: A Step-By-Step Guide | Career Karma","description":"The git revert command can undo the changes made between two commits. On Career Karma, learn how to use the git revert command.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/careerkarma.com\/blog\/git-revert-commit\/","og_locale":"en_US","og_type":"article","og_title":"Git Revert Commit: A Step-By-Step Guide","og_description":"The git revert command can undo the changes made between two commits. On Career Karma, learn how to use the git revert command.","og_url":"https:\/\/careerkarma.com\/blog\/git-revert-commit\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-07-24T19:11:52+00:00","article_modified_time":"2023-12-01T11:56:03+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/apartment-apple-building-business-265125.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/git-revert-commit\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/git-revert-commit\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Git Revert Commit: A Step-By-Step Guide","datePublished":"2020-07-24T19:11:52+00:00","dateModified":"2023-12-01T11:56:03+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/git-revert-commit\/"},"wordCount":1224,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/git-revert-commit\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/apartment-apple-building-business-265125.jpg","articleSection":["Git"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/git-revert-commit\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/git-revert-commit\/","url":"https:\/\/careerkarma.com\/blog\/git-revert-commit\/","name":"Git Revert Commit: A Step-By-Step Guide | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/git-revert-commit\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/git-revert-commit\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/apartment-apple-building-business-265125.jpg","datePublished":"2020-07-24T19:11:52+00:00","dateModified":"2023-12-01T11:56:03+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"The git revert command can undo the changes made between two commits. On Career Karma, learn how to use the git revert command.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/git-revert-commit\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/git-revert-commit\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/git-revert-commit\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/apartment-apple-building-business-265125.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/apartment-apple-building-business-265125.jpg","width":1020,"height":680},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/git-revert-commit\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Git","item":"https:\/\/careerkarma.com\/blog\/git\/"},{"@type":"ListItem","position":3,"name":"Git Revert Commit: A Step-By-Step Guide"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/14357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=14357"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/14357\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/14358"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=14357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=14357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=14357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}