{"id":23040,"date":"2020-09-21T11:54:30","date_gmt":"2020-09-21T18:54:30","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=23040"},"modified":"2023-12-01T04:00:19","modified_gmt":"2023-12-01T12:00:19","slug":"git-your-local-changes-would-be-overwritten-by-checkout","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/git-your-local-changes-would-be-overwritten-by-checkout\/","title":{"rendered":"Git Your local changes to the following files would be overwritten by checkout Solution"},"content":{"rendered":"\n<p>You cannot modify a file on two branches and switch between those branches without committing or stashing the file. This is because Git is unsure what changes should be saved and what changes should be overwritten.<br><\/p>\n\n\n\n<p>This guide discusses the \u201cYour local changes to the following files would be overwritten by checkout\u201d error and what it means. We\u2019ll walk through an example so you can figure out how to fix this error.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Your local changes to the following files would be overwritten by checkout<\/h2>\n\n\n\n<p>The <a href=\"https:\/\/careerkarma.com\/blog\/what-is-git\/\">Git version control<\/a> lets you maintain separate lines of development, called <a href=\"https:\/\/careerkarma.com\/blog\/git-branch\/\">branches<\/a>. The changes on one branch are not reflected on another branch unless you merge the two branches.<br><\/p>\n\n\n\n<p>When you navigate to a branch, you can view the repository at a particular time in its history and make the changes you need. You should commit the changes made when you are ready so Git keeps track of the evolution of your project.<br><\/p>\n\n\n\n<p>You cannot switch between two branches if both branches contain an uncommitted file change. Git needs to know whether a file should be saved or part of a commit. This protects you from accidentally overwriting code you may want to refer back to later.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">An Example Scenario<\/h2>\n\n\n\n<p>We\u2019re going to <a href=\"https:\/\/careerkarma.com\/blog\/git-clone\/\">clone a repository<\/a> that contains one file called README.md:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git clone https:\/\/github.com\/career-karma-tutorials\/ck-git<\/pre><\/div>\n\n\n\n<p>The contents of the README.md file are as follows:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre># ck-git<\/pre><\/div>\n\n\n\n<p>Our repository has two branches: development and master. In our local working directory, we are going to change the README.md file on the origin master branch:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre># Career Karma Git<\/pre><\/div>\n\n\n\n<p>Our master branch is now different from our remote repository. We\u2019re going to switch to our development branch and change the contents of its README to say:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre># Career Karma [Development]<\/pre><\/div>\n\n\n\n<p>We can change this file on the development branch by executing these commands:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git checkout development\nnano README.md<\/pre><\/div>\n\n\n\n<p>Next, switch back to the master branch, commit the changes made to the branch, and push them to our remote repository:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git checkout master\ngit add README.md\ngit commit -m &quot;docs: Update README&quot;\ngit push<\/pre><\/div>\n\n\n\n<p>The <a href=\"https:\/\/careerkarma.com\/blog\/git-checkout\/\">git checkout command<\/a> lets us switch to the master branch. In review, our remote repository now contains:<br><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>A modified README.md on the development branch<\/li><li>A master branch that is ahead one commit<\/li><\/ul>\n\n\n\n<p>Now, let\u2019s modify our README.md again on the master branch:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre># Tutorials<\/pre><\/div>\n\n\n\n<p>This means both branches contain differences between the remote master branch. Let\u2019s try to switch over to our development branch with these changes in place:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git checkout development<\/pre><\/div>\n\n\n\n<p>This command returns an error message:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>error: Your local changes to the following files would be overwritten by checkout:\n    README.md\nPlease commit your changes or stash them before you switch branches.\nAborting<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">The Solution<\/h2>\n\n\n\n<p>Because our development and master branches contain uncommitted changes, Git cannot proceed with the checkout. If Git proceeded, the uncommitted changes we have made to our README.md on the master branch would not be saved.<br><\/p>\n\n\n\n<p>We can fix this error in two ways. First, we can <a href=\"https:\/\/careerkarma.com\/blog\/git-commit\/\">commit our changes<\/a> on the master branch:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git add README.md\ngit commit -m &quot;docs: Add tutorials message to README.md file&quot;\ngit push<\/pre><\/div>\n\n\n\n<p>In these commands, we add the README.md file to the staging area, add all files from the staging area into a commit, and we push our change to the remote repository.<br><\/p>\n\n\n\n<p>Git now has a record of how our README.md file appears with the changes that we made.<br><\/p>\n\n\n\n<p>Alternatively, we could <a href=\"https:\/\/careerkarma.com\/blog\/git-stash\/\">stash our changes for later<\/a>. This is a good solution if you want to make your changes accessible later on when you are not yet ready to add the changes to a commit. To stash your changes, you can run the git stash command:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git stash save README.md<\/pre><\/div>\n\n\n\n<p>This will save our README.md file in a stash. Whenever we are ready to revisit this file, we can access the stash using the stash pop command:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git stash pop<\/pre><\/div>\n\n\n\n<p>This command will restore the README.md file in our repository. \u201cStashing\u201d is another way of saying \u201csaving for later.\u201d Stashes do not create commits of your changes.<br><\/p>\n\n\n\n<p>After we run one of the above solutions, we can navigate to the development branch successfully:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>git checkout development<\/pre><\/div>\n\n\n\n<p>This command switches our branch to \u201cdevelopment\u201d and informs us of this change in our terminal:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Switched to branch 'development'<\/pre><\/div>\n\n\n\n<p>We have solved the issue.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The Git \u201cYour local changes to the following files would be overwritten by checkout\u201d error occurs when you make changes on two branches without committing or stashing those changes and try to navigate between the branches.<br><\/p>\n\n\n\n<p>You can fix this issue by either stashing your changes for later or adding them to a commit.<br><\/p>\n\n\n\n<p>Now you have the knowledge you need to fix this error like a pro!<\/p>\n","protected":false},"excerpt":{"rendered":"You cannot modify a file on two branches and switch between those branches without committing or stashing the file. This is because Git is unsure what changes should be saved and what changes should be overwritten. This guide discusses the \u201cYour local changes to the following files would be overwritten by checkout\u201d error and what&hellip;","protected":false},"author":240,"featured_media":23041,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[17286],"tags":[],"class_list":{"0":"post-23040","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.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Local changes to the following files will be overwritten| Career Karma<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn the cause of and the solution to the Git Your local changes to the following files would be overwritten by checkout error.\" \/>\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-your-local-changes-would-be-overwritten-by-checkout\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Git Your local changes to the following files would be overwritten by checkout Solution\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn the cause of and the solution to the Git Your local changes to the following files would be overwritten by checkout error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/git-your-local-changes-would-be-overwritten-by-checkout\/\" \/>\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-09-21T18:54:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T12:00:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/andy-holmes-webyw4NsFPg-unsplash.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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-your-local-changes-would-be-overwritten-by-checkout\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-your-local-changes-would-be-overwritten-by-checkout\\\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Git Your local changes to the following files would be overwritten by checkout Solution\",\"datePublished\":\"2020-09-21T18:54:30+00:00\",\"dateModified\":\"2023-12-01T12:00:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-your-local-changes-would-be-overwritten-by-checkout\\\/\"},\"wordCount\":726,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-your-local-changes-would-be-overwritten-by-checkout\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/andy-holmes-webyw4NsFPg-unsplash.jpg\",\"articleSection\":[\"Git\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-your-local-changes-would-be-overwritten-by-checkout\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-your-local-changes-would-be-overwritten-by-checkout\\\/\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-your-local-changes-would-be-overwritten-by-checkout\\\/\",\"name\":\"Local changes to the following files will be overwritten| Career Karma\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-your-local-changes-would-be-overwritten-by-checkout\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-your-local-changes-would-be-overwritten-by-checkout\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/andy-holmes-webyw4NsFPg-unsplash.jpg\",\"datePublished\":\"2020-09-21T18:54:30+00:00\",\"dateModified\":\"2023-12-01T12:00:19+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn the cause of and the solution to the Git Your local changes to the following files would be overwritten by checkout error.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-your-local-changes-would-be-overwritten-by-checkout\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-your-local-changes-would-be-overwritten-by-checkout\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-your-local-changes-would-be-overwritten-by-checkout\\\/#primaryimage\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/andy-holmes-webyw4NsFPg-unsplash.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/andy-holmes-webyw4NsFPg-unsplash.jpg\",\"width\":1020,\"height\":680},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/git-your-local-changes-would-be-overwritten-by-checkout\\\/#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 Your local changes to the following files would be overwritten by checkout Solution\"}]},{\"@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":"Local changes to the following files will be overwritten| Career Karma","description":"On Career Karma, learn the cause of and the solution to the Git Your local changes to the following files would be overwritten by checkout error.","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-your-local-changes-would-be-overwritten-by-checkout\/","og_locale":"en_US","og_type":"article","og_title":"Git Your local changes to the following files would be overwritten by checkout Solution","og_description":"On Career Karma, learn the cause of and the solution to the Git Your local changes to the following files would be overwritten by checkout error.","og_url":"https:\/\/careerkarma.com\/blog\/git-your-local-changes-would-be-overwritten-by-checkout\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-09-21T18:54:30+00:00","article_modified_time":"2023-12-01T12:00:19+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/andy-holmes-webyw4NsFPg-unsplash.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":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/git-your-local-changes-would-be-overwritten-by-checkout\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/git-your-local-changes-would-be-overwritten-by-checkout\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Git Your local changes to the following files would be overwritten by checkout Solution","datePublished":"2020-09-21T18:54:30+00:00","dateModified":"2023-12-01T12:00:19+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/git-your-local-changes-would-be-overwritten-by-checkout\/"},"wordCount":726,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/git-your-local-changes-would-be-overwritten-by-checkout\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/andy-holmes-webyw4NsFPg-unsplash.jpg","articleSection":["Git"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/git-your-local-changes-would-be-overwritten-by-checkout\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/git-your-local-changes-would-be-overwritten-by-checkout\/","url":"https:\/\/careerkarma.com\/blog\/git-your-local-changes-would-be-overwritten-by-checkout\/","name":"Local changes to the following files will be overwritten| Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/git-your-local-changes-would-be-overwritten-by-checkout\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/git-your-local-changes-would-be-overwritten-by-checkout\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/andy-holmes-webyw4NsFPg-unsplash.jpg","datePublished":"2020-09-21T18:54:30+00:00","dateModified":"2023-12-01T12:00:19+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn the cause of and the solution to the Git Your local changes to the following files would be overwritten by checkout error.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/git-your-local-changes-would-be-overwritten-by-checkout\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/git-your-local-changes-would-be-overwritten-by-checkout\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/git-your-local-changes-would-be-overwritten-by-checkout\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/andy-holmes-webyw4NsFPg-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/andy-holmes-webyw4NsFPg-unsplash.jpg","width":1020,"height":680},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/git-your-local-changes-would-be-overwritten-by-checkout\/#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 Your local changes to the following files would be overwritten by checkout Solution"}]},{"@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\/23040","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=23040"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/23040\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/23041"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=23040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=23040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=23040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}