{"id":20069,"date":"2020-07-24T02:40:09","date_gmt":"2020-07-24T09:40:09","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=20069"},"modified":"2023-12-01T03:56:02","modified_gmt":"2023-12-01T11:56:02","slug":"git-blame","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/git-blame\/","title":{"rendered":"git blame: A Beginner\u2019s Guide"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">How to Use the git blame Command<\/h2>\n\n\n\n<p>You may have been told in school never to play the blame game. When you\u2019re working with <a href=\"https:\/\/careerkarma.com\/blog\/what-is-git\/\">Git<\/a>, you can ignore that advice. Using the blame command is an essential part of Git.<br><\/p>\n\n\n\n<p>The git blame command analyzes each line in a file to determine who last modified the line and in what commit the line was modified.<br><\/p>\n\n\n\n<p>In this guide, we\u2019re going to talk about the git blame command and how it works. We\u2019ll walk through a few examples of this command to help you get started. Let\u2019s begin!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is git blame?<\/h2>\n\n\n\n<p>The git blame command returns a list of all the lines in a file alongside who changed that file and when it was last changed. This command is useful because it helps you see how a file has evolved without having to look through different <a href=\"https:\/\/careerkarma.com\/blog\/git-commit\/\">commits<\/a> individually.<br><\/p>\n\n\n\n<p>To use this command, we\u2019re going to need a repository with some commits. Let\u2019s use the Career Karma web-tutorials repository as an example. We\u2019ll need to clone this repository to our computer so we can get started:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git clone https:\/\/github.com\/Career-Karma-Tutorials\/web-tutorials<\/pre><\/div>\n\n\n\n<p>Now that we have this repository on our local machine, we can start using the git blame command.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Use git blame<\/h2>\n\n\n\n<p>The git blame command shows the history of an individual file. It cannot be used on multiple files. Let\u2019s analyze the history of the README.md file in the repository:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git blame README.md<\/pre><\/div>\n\n\n\n<p>This file has been changed in a few different commits:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>ef070f80 (jamesgallagher432 2020-06-26 12:57:37 +0100  1) # Career Karma Web Tutorials\nef070f80 (jamesgallagher432 2020-06-26 12:57:37 +0100  2)\nef070f80 (jamesgallagher432 2020-06-26 12:57:37 +0100  3) This repository contains the code for Career Karma's web tutorials.\nef070f80 (jamesgallagher432 2020-06-26 12:57:37 +0100  4)\nef070f80 (jamesgallagher432 2020-06-26 12:57:37 +0100  5) Check out our technical tutorials on the [Career Karma blog](careerkarma.com\/blog\/).\nef070f80 (jamesgallagher432 2020-06-26 12:57:37 +0100  6)\nbad0b91c (James Gallagher   2020-07-21 09:45:46 +0100  7) ## Articles<\/pre><\/div>\n\n\n\n<p>This shows the first seven lines of our README.md file, line by line. There are more lines to show but we don\u2019t need to analyze every line for this tutorial.<br><\/p>\n\n\n\n<p>There\u2019s a lot of information we can tell from this output. The first line of our file contains the following metadata:<br><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Commit ID: ef070f80<\/li><li>Author: jamesgallagher432<\/li><li>The date on which the commit was created: 2020-06-26 12:57:37 +0100<\/li><li>Line number: 1<\/li><li>Contents of the line: # Career Karma Web Tutorials<\/li><\/ul>\n\n\n\n<p>This data is shown for every line in our project. This tells us that jamesgallagher432 authored the first line in the repository. It was part of the commit ef070f80.<br><\/p>\n\n\n\n<p>Suppose you wanted to know who added the \u201c## Articles\u201d heading to the document. All you need to do is check its entry in git blame:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>bad0b91c (James Gallagher   2020-07-21 09:45:46 +0100  7) ## Articles\n\nJames Gallagher last modified the line in the commit bad0b91c.<\/pre><\/div>\n\n\n\n<p>You can take a broader view of the git blame command to learn more about our repository.<br><\/p>\n\n\n\n<p>There are two authors listed in our blame: James Gallagher and jamesgallagher432. This means that two people have changed the file. There are two different commits in the blame. This means that the file has only been amended twice.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to View Particular Lines<\/h2>\n\n\n\n<p>By default, the git blame command analyzes every line in a file. This is impractical if the file with which you are working is dozens, hundreds, or thousands of lines long.<br><\/p>\n\n\n\n<p>You can view a range of lines using the -L option:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git blame -L 9,12 README.md<\/pre><\/div>\n\n\n\n<p>This will return all the lines between the range of 9 and 12 in the README.md file.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to View Moved and Copied Lines<\/h2>\n\n\n\n<p>The git blame command allows you to see whether a line has been moved or copied from both the same file or a different file.<br><\/p>\n\n\n\n<p>The -M option checks whether a line has been moved or copied in the same file; the -C option checks if a line was moved from another file.<br><\/p>\n\n\n\n<p>If a line has been moved or copied, the person who wrote those lines will be listed as the author. The person who moved the lines is not the author.<br><\/p>\n\n\n\n<p>Consider this command:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git blame -M README.md<\/pre><\/div>\n\n\n\n<p>When you execute this command, all the lines of code inside the README.md file that have been moved or copied within the file will be denoted.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Git Log vs. Git Blame<\/h2>\n\n\n\n<p><a href=\"https:\/\/careerkarma.com\/blog\/git-log\/\">git log<\/a> and git blame both have similar purposes. They are used to analyze the history of a project. The git log command shows a list of all the commits made to a repository.<br><\/p>\n\n\n\n<p>The git blame command is most useful when you want to see who last modified a line. It\u2019s impossible to find out how a line has evolved over time using Git blame.<br><\/p>\n\n\n\n<p>That\u2019s where the git log command comes in handy. Git log can be used to check who has changed a particular line of text in a file:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git log -S &quot;## Articles&quot; README.md<\/pre><\/div>\n\n\n\n<p>This command produces a list of all the commits that affect the \u201c## Articles\u201d line in the README.md file:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>commit bad0b91c5bf9f5fc28ef8753578376e925182b2b (HEAD -&gt; master, origin\/master)\nAuthor: James Gallagher &lt;email&gt;\nDate:   Tue Jul 21 09:45:46 2020 +0100\n\n\tdocs: Add article list to README.md<\/pre><\/div>\n\n\n\n<p>Only one commit has changed this file. The commit in which the \u201c## Articles\u201d line was added was bad0b91c. The commit was pushed by James Gallagher. If multiple changes had been made to this line of text, more commits would be listed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The git blame command tells you when a line of text in a file was last changed. It also tells you in what commit the line of text was changed and who made the change.<br><\/p>\n\n\n\n<p>The git blame command is most useful when you want to find out about the most recent revisions made to a file. You can use the git log command if you want to see how a file has evolved over time.<br><\/p>\n\n\n\n<p>Now you\u2019re ready to use the git blame command like an expert!<\/p>\n","protected":false},"excerpt":{"rendered":"How to Use the git blame Command You may have been told in school never to play the blame game. When you\u2019re working with Git, you can ignore that advice. Using the blame command is an essential part of Git. The git blame command analyzes each line in a file to determine who last modified&hellip;","protected":false},"author":240,"featured_media":13379,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[17286],"tags":[],"class_list":{"0":"post-20069","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":"Coding","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.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>git blame: A Beginner\u2019s Guide | Career Karma<\/title>\n<meta name=\"description\" content=\"The git blame command shows the metadata on the last changes made to all the lines in a file. On Career Karma, learn how to use the git blame 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-blame\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"git blame: A Beginner\u2019s Guide\" \/>\n<meta property=\"og:description\" content=\"The git blame command shows the metadata on the last changes made to all the lines in a file. On Career Karma, learn how to use the git blame command.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/git-blame\/\" \/>\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-24T09:40:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:56:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/apple-code-coding-computer-574069.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"663\" \/>\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=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-blame\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-blame\\\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"git blame: A Beginner\u2019s Guide\",\"datePublished\":\"2020-07-24T09:40:09+00:00\",\"dateModified\":\"2023-12-01T11:56:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-blame\\\/\"},\"wordCount\":888,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-blame\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/apple-code-coding-computer-574069.jpg\",\"articleSection\":[\"Git\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-blame\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-blame\\\/\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-blame\\\/\",\"name\":\"git blame: A Beginner\u2019s Guide | Career Karma\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-blame\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-blame\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/apple-code-coding-computer-574069.jpg\",\"datePublished\":\"2020-07-24T09:40:09+00:00\",\"dateModified\":\"2023-12-01T11:56:02+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"The git blame command shows the metadata on the last changes made to all the lines in a file. On Career Karma, learn how to use the git blame command.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-blame\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-blame\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-blame\\\/#primaryimage\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/apple-code-coding-computer-574069.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/apple-code-coding-computer-574069.jpg\",\"width\":1000,\"height\":663},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-blame\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Coding\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/code\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"git blame: A Beginner\u2019s 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\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"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 blame: A Beginner\u2019s Guide | Career Karma","description":"The git blame command shows the metadata on the last changes made to all the lines in a file. On Career Karma, learn how to use the git blame 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-blame\/","og_locale":"en_US","og_type":"article","og_title":"git blame: A Beginner\u2019s Guide","og_description":"The git blame command shows the metadata on the last changes made to all the lines in a file. On Career Karma, learn how to use the git blame command.","og_url":"https:\/\/careerkarma.com\/blog\/git-blame\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-07-24T09:40:09+00:00","article_modified_time":"2023-12-01T11:56:02+00:00","og_image":[{"width":1000,"height":663,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/apple-code-coding-computer-574069.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":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/git-blame\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/git-blame\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"git blame: A Beginner\u2019s Guide","datePublished":"2020-07-24T09:40:09+00:00","dateModified":"2023-12-01T11:56:02+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/git-blame\/"},"wordCount":888,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/git-blame\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/apple-code-coding-computer-574069.jpg","articleSection":["Git"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/git-blame\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/git-blame\/","url":"https:\/\/careerkarma.com\/blog\/git-blame\/","name":"git blame: A Beginner\u2019s Guide | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/git-blame\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/git-blame\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/apple-code-coding-computer-574069.jpg","datePublished":"2020-07-24T09:40:09+00:00","dateModified":"2023-12-01T11:56:02+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"The git blame command shows the metadata on the last changes made to all the lines in a file. On Career Karma, learn how to use the git blame command.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/git-blame\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/git-blame\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/git-blame\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/apple-code-coding-computer-574069.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/apple-code-coding-computer-574069.jpg","width":1000,"height":663},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/git-blame\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Coding","item":"https:\/\/careerkarma.com\/blog\/code\/"},{"@type":"ListItem","position":3,"name":"git blame: A Beginner\u2019s 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\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","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\/20069","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=20069"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/20069\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/13379"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=20069"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=20069"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=20069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}