{"id":8,"date":"2015-10-24T15:30:12","date_gmt":"2015-10-24T20:00:12","guid":{"rendered":"http:\/\/test.thescorpius.com\/?p=8"},"modified":"2015-11-16T12:16:52","modified_gmt":"2015-11-16T16:46:52","slug":"a-useful-git-tutorial-part-i","status":"publish","type":"post","link":"https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/","title":{"rendered":"A Useful Git Tutorial &#8211; Part I"},"content":{"rendered":"<h3><a href=\"https:\/\/i0.wp.com\/test.thescorpius.com\/wp-content\/uploads\/2015\/10\/Git-Logo-2Color.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-11\" src=\"https:\/\/i0.wp.com\/test.thescorpius.com\/wp-content\/uploads\/2015\/10\/Git-Logo-2Color-300x125.png?resize=300%2C125\" alt=\"Git-Logo-2Color\" width=\"300\" height=\"125\" srcset=\"https:\/\/i0.wp.com\/blog.thescorpius.com\/wp-content\/uploads\/2015\/10\/Git-Logo-2Color.png?resize=300%2C125&amp;ssl=1 300w, https:\/\/i0.wp.com\/blog.thescorpius.com\/wp-content\/uploads\/2015\/10\/Git-Logo-2Color.png?w=910&amp;ssl=1 910w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h3>\n<p>You know what I\u00a0<em>really hate<\/em> about git? \u00a0Calling <span style=\"text-decoration: underline;\">working directories<\/span> as\u00a0<strong>repositories<\/strong> and <span style=\"text-decoration: underline;\">real repositories<\/span> as\u00a0<strong>bare repositories<\/strong>. \u00a0 This is somehow confusing for people like me coming from older and outdated control version systems like CVS or SVN.<\/p>\n<p>But if you keep in mind what I said above and give git a chance you&#8217;d realize is the most powerful control version system ever created.<\/p>\n<p>There are tons of git tutorials out there but I&#8217;m pretty sure none of them cover how 90% of the people use git: clone an existing project, make their own changes and try to keep them updated with the original project. Eventually submit patches.<\/p>\n<p><!--more--><\/p>\n<h3>Repositories<\/h3>\n<p>There are two kind of repositories in git:<\/p>\n<ul>\n<li><b>Normal Repository<\/b>: \u00a0This is your working directory. \u00a0This is where you mess with files, edit them, make your patches, and you can even run .\/configure and make and try it out and issue a <code>git clean<\/code> after.<\/li>\n<li><strong>Bare Repository: \u00a0<\/strong>This kind of repository doesn&#8217;t have working directories. \u00a0This is what you&#8217;d call a\u00a0<em>shared re<\/em><em>pository\u00a0<\/em>where several developers\u00a0can collaborate.<\/li>\n<\/ul>\n<p>There&#8217;s a special kind of <em>bare repository<\/em> called <strong>remote repository<\/strong>, we&#8217;ll cover those soon.<\/p>\n<h3>First Things First<\/h3>\n<p>Before you start using git you need to at least configure your user name and email address since they will be included in every commit you make.<\/p>\n<pre>git config --global user.name \"John Doe\"\r\ngit config --global user.email johndoe@example.com\r\n<\/pre>\n<p>Also you should take the opportunity to configure your default editor. I&#8217;m all about vi, so I can&#8217;t stand editors like nano, joe, emacs, etc.<\/p>\n<pre>git config --global core.editor emacs<\/pre>\n<h3>Quick and Dirty Start<\/h3>\n<p>If you want to create an empty repository where you can start working on source code files you use:<\/p>\n<pre>git init myproject<\/pre>\n<p>And that will create a directory called\u00a0<em>myproject<\/em>\u00a0that is a git repository. \u00a0 But usually you will\u00a0not create an empty repository, but you would clone a project instead and then start working on your changes:<\/p>\n<pre>git clone https:\/\/github.com\/myproject\/myproject.git<\/pre>\n<p>This will clone the whole repository in a working directory for you to change files in the same directory\u00a0<em>myproject<\/em>. \u00a0By the way that github.com repository is a bare repository as you might guessed.<\/p>\n<h3>Branching<\/h3>\n<p>Now you&#8217;re gonna start to make your changes but you shouldn&#8217;t edit the files in the\u00a0<em>master<\/em> branch. Instead you should create a branch where you can work on your changes without messing with the\u00a0<em>master<\/em> branch. \u00a0To\u00a0list all the branches in your repository:<\/p>\n<pre>git branch<\/pre>\n<p>To create a new branch:<\/p>\n<pre>git branch mybranch<\/pre>\n<p>And finally to start working on your branch (to <em>switch<\/em>\u00a0to your new branch):<\/p>\n<pre>git checkout mybranch<\/pre>\n<h3>Committing your Changes<\/h3>\n<p>You created your local repository and started making changes. \u00a0 If you didn&#8217;t create any new file but just edited existing files and you&#8217;re ready to commit your changes, you first have to\u00a0add the content to the index for the next commit:<\/p>\n<pre>git add -u<\/pre>\n<p>That will update the index with the new content from all the files that were\u00a0<span style=\"text-decoration: underline;\">edited<\/span>. \u00a0If you created a new file, you have to add it:<\/p>\n<pre>git add src\/newfile.cpp<\/pre>\n<p>Or, if you created a bunch of source files, you can add the whole directory:<\/p>\n<pre>git add .<\/pre>\n<p style=\"text-align: left;\">This is a good time to tell you about the\u00a0<em>dry-run<\/em> option in most git commands. \u00a0It will show you what would be done, without doing anything, so you can verify it will do what you want:<\/p>\n<pre>git add -n .<\/pre>\n<p style=\"text-align: left;\">And now you&#8217;re ready to commit.<\/p>\n<pre>git commit -m \"Initial commit\"<\/pre>\n<p style=\"text-align: left;\">Again, you can use -n to see what would be done.<\/p>\n<p style=\"text-align: left;\">Your commit will have a\u00a0 SHA1 hash that you can use to reference it later.\u00a0 Check your commits like this:<\/p>\n<pre>git log<\/pre>\n<p style=\"text-align: left;\">In a next post we&#8217;ll see how to keep your source updated with the original repository; as you might have guessed while you are making changes other people can be\u00a0also making changes to the code. \u00a0Also we&#8217;ll take a look how to compare your code with the <em>master<\/em>\u00a0or any other branch, and\u00a0push your changes to the upstream repository.<\/p>\n<p style=\"text-align: left;\">Too basic for you? Check out the <a href=\"http:\/\/blog.thescorpius.com\/index.php\/2015\/10\/25\/a-useful-git-tutorial-part-ii\/\">Part II of this tutorial<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You know what I\u00a0really hate about git? \u00a0Calling working directories as\u00a0repositories and real repositories as\u00a0bare repositories. \u00a0 This is somehow confusing for people like me coming from older and outdated control version systems like CVS or SVN. But if you keep in mind what I said above and give git a chance you&#8217;d realize is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2,6,7],"tags":[3],"class_list":["post-8","post","type-post","status-publish","format-standard","hentry","category-git","category-linux","category-tutorials","tag-git"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>A Useful Git Tutorial - Part I - Scorpius<\/title>\n<meta name=\"description\" content=\"You need to start working with git in seconds and don&#039;t have the time to read those long tutorials? This *useful* git tutorial is exactly what you need.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Useful Git Tutorial - Part I - Scorpius\" \/>\n<meta property=\"og:description\" content=\"You need to start working with git in seconds and don&#039;t have the time to read those long tutorials? This *useful* git tutorial is exactly what you need.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/\" \/>\n<meta property=\"og:site_name\" content=\"Scorpius\" \/>\n<meta property=\"article:published_time\" content=\"2015-10-24T20:00:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-11-16T16:46:52+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/test.thescorpius.com\/wp-content\/uploads\/2015\/10\/Git-Logo-2Color-300x125.png\" \/>\n<meta name=\"author\" content=\"TheScorpius666\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TheScorpius666\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/index.php\\\/2015\\\/10\\\/24\\\/a-useful-git-tutorial-part-i\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/index.php\\\/2015\\\/10\\\/24\\\/a-useful-git-tutorial-part-i\\\/\"},\"author\":{\"name\":\"TheScorpius666\",\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/#\\\/schema\\\/person\\\/86f96e20f253dad7eb38d3c721a950de\"},\"headline\":\"A Useful Git Tutorial &#8211; Part I\",\"datePublished\":\"2015-10-24T20:00:12+00:00\",\"dateModified\":\"2015-11-16T16:46:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/index.php\\\/2015\\\/10\\\/24\\\/a-useful-git-tutorial-part-i\\\/\"},\"wordCount\":660,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/#\\\/schema\\\/person\\\/7b346c3545c12a84ffdf2a30dfc69501\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/index.php\\\/2015\\\/10\\\/24\\\/a-useful-git-tutorial-part-i\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/test.thescorpius.com\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/Git-Logo-2Color-300x125.png\",\"keywords\":[\"git\"],\"articleSection\":[\"git\",\"linux\",\"tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.thescorpius.com\\\/index.php\\\/2015\\\/10\\\/24\\\/a-useful-git-tutorial-part-i\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/index.php\\\/2015\\\/10\\\/24\\\/a-useful-git-tutorial-part-i\\\/\",\"url\":\"https:\\\/\\\/blog.thescorpius.com\\\/index.php\\\/2015\\\/10\\\/24\\\/a-useful-git-tutorial-part-i\\\/\",\"name\":\"A Useful Git Tutorial - Part I - Scorpius\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/index.php\\\/2015\\\/10\\\/24\\\/a-useful-git-tutorial-part-i\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/index.php\\\/2015\\\/10\\\/24\\\/a-useful-git-tutorial-part-i\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/test.thescorpius.com\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/Git-Logo-2Color-300x125.png\",\"datePublished\":\"2015-10-24T20:00:12+00:00\",\"dateModified\":\"2015-11-16T16:46:52+00:00\",\"description\":\"You need to start working with git in seconds and don't have the time to read those long tutorials? This *useful* git tutorial is exactly what you need.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/index.php\\\/2015\\\/10\\\/24\\\/a-useful-git-tutorial-part-i\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.thescorpius.com\\\/index.php\\\/2015\\\/10\\\/24\\\/a-useful-git-tutorial-part-i\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/index.php\\\/2015\\\/10\\\/24\\\/a-useful-git-tutorial-part-i\\\/#primaryimage\",\"url\":\"http:\\\/\\\/test.thescorpius.com\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/Git-Logo-2Color-300x125.png\",\"contentUrl\":\"http:\\\/\\\/test.thescorpius.com\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/Git-Logo-2Color-300x125.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/index.php\\\/2015\\\/10\\\/24\\\/a-useful-git-tutorial-part-i\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.thescorpius.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Useful Git Tutorial &#8211; Part I\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/#website\",\"url\":\"https:\\\/\\\/blog.thescorpius.com\\\/\",\"name\":\"Scorpius\",\"description\":\"Random technology bits\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/#\\\/schema\\\/person\\\/7b346c3545c12a84ffdf2a30dfc69501\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.thescorpius.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/#\\\/schema\\\/person\\\/7b346c3545c12a84ffdf2a30dfc69501\",\"name\":\"Scorpius\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ef13012e4d941d778c3d150fe29a546747df377f4e03576633b5d49b7456a78e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ef13012e4d941d778c3d150fe29a546747df377f4e03576633b5d49b7456a78e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ef13012e4d941d778c3d150fe29a546747df377f4e03576633b5d49b7456a78e?s=96&d=mm&r=g\",\"caption\":\"Scorpius\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ef13012e4d941d778c3d150fe29a546747df377f4e03576633b5d49b7456a78e?s=96&d=mm&r=g\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.thescorpius.com\\\/#\\\/schema\\\/person\\\/86f96e20f253dad7eb38d3c721a950de\",\"name\":\"TheScorpius666\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3e54ca7ca513e321c05a53d8ab8e2cfa46535f8b6da290e2c171b6dce40ba007?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3e54ca7ca513e321c05a53d8ab8e2cfa46535f8b6da290e2c171b6dce40ba007?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3e54ca7ca513e321c05a53d8ab8e2cfa46535f8b6da290e2c171b6dce40ba007?s=96&d=mm&r=g\",\"caption\":\"TheScorpius666\"},\"url\":\"https:\\\/\\\/blog.thescorpius.com\\\/index.php\\\/author\\\/thescorpius666\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A Useful Git Tutorial - Part I - Scorpius","description":"You need to start working with git in seconds and don't have the time to read those long tutorials? This *useful* git tutorial is exactly what you need.","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:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/","og_locale":"en_US","og_type":"article","og_title":"A Useful Git Tutorial - Part I - Scorpius","og_description":"You need to start working with git in seconds and don't have the time to read those long tutorials? This *useful* git tutorial is exactly what you need.","og_url":"https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/","og_site_name":"Scorpius","article_published_time":"2015-10-24T20:00:12+00:00","article_modified_time":"2015-11-16T16:46:52+00:00","og_image":[{"url":"http:\/\/test.thescorpius.com\/wp-content\/uploads\/2015\/10\/Git-Logo-2Color-300x125.png","type":"","width":"","height":""}],"author":"TheScorpius666","twitter_card":"summary_large_image","twitter_misc":{"Written by":"TheScorpius666","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/#article","isPartOf":{"@id":"https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/"},"author":{"name":"TheScorpius666","@id":"https:\/\/blog.thescorpius.com\/#\/schema\/person\/86f96e20f253dad7eb38d3c721a950de"},"headline":"A Useful Git Tutorial &#8211; Part I","datePublished":"2015-10-24T20:00:12+00:00","dateModified":"2015-11-16T16:46:52+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/"},"wordCount":660,"commentCount":0,"publisher":{"@id":"https:\/\/blog.thescorpius.com\/#\/schema\/person\/7b346c3545c12a84ffdf2a30dfc69501"},"image":{"@id":"https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/#primaryimage"},"thumbnailUrl":"http:\/\/test.thescorpius.com\/wp-content\/uploads\/2015\/10\/Git-Logo-2Color-300x125.png","keywords":["git"],"articleSection":["git","linux","tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/","url":"https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/","name":"A Useful Git Tutorial - Part I - Scorpius","isPartOf":{"@id":"https:\/\/blog.thescorpius.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/#primaryimage"},"image":{"@id":"https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/#primaryimage"},"thumbnailUrl":"http:\/\/test.thescorpius.com\/wp-content\/uploads\/2015\/10\/Git-Logo-2Color-300x125.png","datePublished":"2015-10-24T20:00:12+00:00","dateModified":"2015-11-16T16:46:52+00:00","description":"You need to start working with git in seconds and don't have the time to read those long tutorials? This *useful* git tutorial is exactly what you need.","breadcrumb":{"@id":"https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/#primaryimage","url":"http:\/\/test.thescorpius.com\/wp-content\/uploads\/2015\/10\/Git-Logo-2Color-300x125.png","contentUrl":"http:\/\/test.thescorpius.com\/wp-content\/uploads\/2015\/10\/Git-Logo-2Color-300x125.png"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.thescorpius.com\/index.php\/2015\/10\/24\/a-useful-git-tutorial-part-i\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.thescorpius.com\/"},{"@type":"ListItem","position":2,"name":"A Useful Git Tutorial &#8211; Part I"}]},{"@type":"WebSite","@id":"https:\/\/blog.thescorpius.com\/#website","url":"https:\/\/blog.thescorpius.com\/","name":"Scorpius","description":"Random technology bits","publisher":{"@id":"https:\/\/blog.thescorpius.com\/#\/schema\/person\/7b346c3545c12a84ffdf2a30dfc69501"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.thescorpius.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/blog.thescorpius.com\/#\/schema\/person\/7b346c3545c12a84ffdf2a30dfc69501","name":"Scorpius","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ef13012e4d941d778c3d150fe29a546747df377f4e03576633b5d49b7456a78e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ef13012e4d941d778c3d150fe29a546747df377f4e03576633b5d49b7456a78e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef13012e4d941d778c3d150fe29a546747df377f4e03576633b5d49b7456a78e?s=96&d=mm&r=g","caption":"Scorpius"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/ef13012e4d941d778c3d150fe29a546747df377f4e03576633b5d49b7456a78e?s=96&d=mm&r=g"}},{"@type":"Person","@id":"https:\/\/blog.thescorpius.com\/#\/schema\/person\/86f96e20f253dad7eb38d3c721a950de","name":"TheScorpius666","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3e54ca7ca513e321c05a53d8ab8e2cfa46535f8b6da290e2c171b6dce40ba007?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3e54ca7ca513e321c05a53d8ab8e2cfa46535f8b6da290e2c171b6dce40ba007?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3e54ca7ca513e321c05a53d8ab8e2cfa46535f8b6da290e2c171b6dce40ba007?s=96&d=mm&r=g","caption":"TheScorpius666"},"url":"https:\/\/blog.thescorpius.com\/index.php\/author\/thescorpius666\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6SNpd-8","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/blog.thescorpius.com\/index.php\/wp-json\/wp\/v2\/posts\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.thescorpius.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.thescorpius.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.thescorpius.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.thescorpius.com\/index.php\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":7,"href":"https:\/\/blog.thescorpius.com\/index.php\/wp-json\/wp\/v2\/posts\/8\/revisions"}],"predecessor-version":[{"id":136,"href":"https:\/\/blog.thescorpius.com\/index.php\/wp-json\/wp\/v2\/posts\/8\/revisions\/136"}],"wp:attachment":[{"href":"https:\/\/blog.thescorpius.com\/index.php\/wp-json\/wp\/v2\/media?parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.thescorpius.com\/index.php\/wp-json\/wp\/v2\/categories?post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.thescorpius.com\/index.php\/wp-json\/wp\/v2\/tags?post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}