{"id":22137,"date":"2020-10-24T19:02:35","date_gmt":"2020-10-25T02:02:35","guid":{"rendered":"https:\/\/www.podfeet.com\/blog\/?p=22137"},"modified":"2021-10-16T16:50:46","modified_gmt":"2021-10-16T23:50:46","slug":"ccatp-658","status":"publish","type":"post","link":"https:\/\/www.podfeet.com\/blog\/2020\/10\/ccatp-658\/","title":{"rendered":"CCATP #658 \u2013 Bart Busschots on PBS 104 \u2013 Tracking Changes in Git"},"content":{"rendered":"<p>In our next baby step in learning to use the version control system Git, Bart teaches us how to track changes.  We start by doing a bit of housekeeping, especially for Mac users to set Git to always ignore those pesky .DS_Store files. We learn how to stage and then commit a simple change, then we stage and commit multiple changes and even learn to see the differences in our staged files from the database all from the command line.<\/p>\n<p>While we all think we&#8217;re capable of making one structural change and then committing our changes, Bart knows that it isn&#8217;t going to happen.  But there&#8217;s still a way to follow Helma&#8217;s advice to &#8220;commit early and commit often&#8221;. Bart teaches us how to divide the changes we inevitably make into separate commits with separate comments so we can figure out what we did later.<\/p>\n<p>I enjoyed this installment because I could tell it was laying a very important foundation of understanding.  You can follow along with Bart&#8217;s famous shownotes at <a href=\"https:\/\/pbs.bartificer.net\/pbs104\" target=\"_blank\" rel=\"noopener noreferrer\">pbs.bartificer.net\/&#8230;<\/a><\/p>\n<audio class=\"wp-audio-shortcode\" id=\"audio-22137-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2020_10_24.mp3?_=1\" \/><a href=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2020_10_24.mp3\">https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2020_10_24.mp3<\/a><\/audio>\n<p><a title=\"mp3 download\" href=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2020_10_24.mp3\" target=\"_blank\" rel=\"noopener noreferrer\">mp3 download<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our next baby step in learning to use the version control system Git, Bart teaches us how to track changes. We start by doing a bit of housekeeping, especially for Mac users to set Git to always ignore those pesky .DS_Store files. We learn how to stage and then commit a simple change, then [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":21669,"comment_status":"open","ping_status":"closed","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":""},"categories":[147,172,1,213],"tags":[230,2064,176,240],"class_list":["post-22137","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-posts","category-ccatp","category-podcasts","category-programming-by-stealth","tag-command-line","tag-git","tag-programming","tag-programming-by-stealth"],"jetpack_featured_media_url":"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2020\/08\/PBS_logo-with-mask.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/22137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/comments?post=22137"}],"version-history":[{"count":2,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/22137\/revisions"}],"predecessor-version":[{"id":22139,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/22137\/revisions\/22139"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media\/21669"}],"wp:attachment":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media?parent=22137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/categories?post=22137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/tags?post=22137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}