{"id":375,"date":"2021-09-19T13:14:44","date_gmt":"2021-09-19T21:14:44","guid":{"rendered":"http:\/\/spacefold.com\/colin\/morethanfour\/?p=375"},"modified":"2021-09-19T13:24:45","modified_gmt":"2021-09-19T21:24:45","slug":"learning-git-0-introduction","status":"publish","type":"post","link":"https:\/\/spacefold.com\/colin\/morethanfour\/2021\/09\/19\/learning-git-0-introduction\/","title":{"rendered":"Learning Git &#8211; 0: Introduction"},"content":{"rendered":"\n<p>Welcome to yet another Git tutorial, because let&#8217;s be honest with ourselves: there aren&#8217;t enough of them.<\/p>\n\n\n\n<p>Another name for this series might be &#8220;Learning Git: I try things that don&#8217;t work, so that you don&#8217;t have to&#8221;. I&#8217;ve had several start-stop relationships with Git over the last few years, and for this most recent effort I decided I was going to go all-out; deep-dive; and write up my learning experience afterwards in a way that I wished I could have learned it the first time.<\/p>\n\n\n\n<p>For many folks learning Git, the first command they are introduced to is <em><strong>clone<\/strong><\/em>. I&#8217;m going to do it differently: In four chapters and four appendices, the <strong>last <\/strong>command we&#8217;ll talk about is clone &#8211; by which time, hopefully, we&#8217;ll know exactly what it does and why.<\/p>\n\n\n\n<p>I&#8217;m starting a new project, cow-tipper, and I would like to leverage source control. I&#8217;m going to use Git. I have my project directory containing my source files, so all I need is a repository.<\/p>\n\n\n\n<p>My experience installing Git can be read here: <a href=\"https:\/\/spacefold.com\/colin\/morethanfour\/2021\/09\/19\/learning-git-apx-a-installing\/\">Appendix A: Installing Git.<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The Full Series:<\/h3>\n\n\n\n<p><a href=\"https:\/\/spacefold.com\/colin\/morethanfour\/2021\/09\/19\/learning-git-1-the-basics\/\">Part 1: The Basics<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/spacefold.com\/colin\/morethanfour\/2021\/09\/19\/learning-git-2-branching\/\">Part 2: Branching<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/spacefold.com\/colin\/morethanfour\/2021\/09\/19\/learning-git-3-remotes\/\">Part 3: Remotes<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/spacefold.com\/colin\/morethanfour\/2021\/09\/19\/learning-git-4-remotes-ii-reverse-the-polarity\/\">Part 4: Remotes II &#8211; Reverse the Polarity!<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/spacefold.com\/colin\/morethanfour\/2021\/09\/19\/learning-git-apx-a-installing\/\">Appendix A: Installing Git<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/spacefold.com\/colin\/morethanfour\/2021\/09\/19\/learning-git-appendix-b-customizing-the-message-editor\/\">Appendix B: Customizing the Git Message Editor<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/spacefold.com\/colin\/morethanfour\/2021\/09\/19\/learning-git-appendix-c-petra-rabbits-authentication-palooza\/\">Appendix C: Petra Rabbit&#8217;s Authentication-palooza<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/spacefold.com\/colin\/morethanfour\/2021\/09\/19\/learning-git-appendix-d-whats-the-diff\/\">Appendix D: What&#8217;s the Diff?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to yet another Git tutorial, because let&#8217;s be honest with ourselves: there aren&#8217;t enough of them. Another name for this series might be &#8220;Learning Git: I try things that don&#8217;t work, so that you don&#8217;t have to&#8221;. I&#8217;ve had several start-stop relationships with Git over the last few years, and for this most recent [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-375","post","type-post","status-publish","format-standard","hentry","category-source-control","post-preview"],"_links":{"self":[{"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/posts\/375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/comments?post=375"}],"version-history":[{"count":0,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/posts\/375\/revisions"}],"wp:attachment":[{"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/media?parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/categories?post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/tags?post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}