{"id":23966,"date":"2021-07-10T17:43:57","date_gmt":"2021-07-11T00:43:57","guid":{"rendered":"https:\/\/www.podfeet.com\/blog\/?p=23966"},"modified":"2021-07-10T17:43:57","modified_gmt":"2021-07-11T00:43:57","slug":"ccatp-692","status":"publish","type":"post","link":"https:\/\/www.podfeet.com\/blog\/2021\/07\/ccatp-692\/","title":{"rendered":"CCATP #692 \u2013 Bart Busschots on PBS 120 \u2013 Ignoring Files in Git"},"content":{"rendered":"<p>A few weeks ago I told Bart off the air that when he was done with his mini-series within a series all about the version control system Git, I&#8217;d like a few minutes with him offline so he could explain how to ignore files in Git. I knew there was a way to do it but he hadn&#8217;t covered it so I assumed it was just something quick he could explain to me. His reaction surprised me, he said, &#8220;D&#8217;oh!&#8221; because he realized that this is a <em>very<\/em> important part of using Git and that he would definitely dedicate an installment to it.<\/p>\n<p>So this week Bart teaches us how to use <code>.gitignore<\/code> to tell Git <em>not<\/em> to track changes to files and folders. He explains that there are files your computer or even your code editor may be creating that you don&#8217;t want Git to track, and of course there all of the dummy test files we as humans create that would not be something we&#8217;d want to share with our co-workers or fellow open source contributors.<\/p>\n<p>I was nervous about using <code>git ignore<\/code> because I understood it relied on patterns, and I thought that would mean something along the lines of using Regular Expressions, which are kind of daunting. I shouldn&#8217;t have been worried, <code>.gitignore<\/code> patterns definitely don&#8217;t require any heavy lifting.<\/p>\n<p>I was really looking forward to this installment and it didn&#8217;t disappoint.<\/p>\n<p>You can find Bart&#8217;s fabulous tutorial shownotes at <a href=\"https:\/\/pbs.bartificer.net\/pbs120\" target=\"%5Fblank\" rel=\"noopener\">pbs.bartificer.net\/&#8230;<\/a><\/p>\n<audio class=\"wp-audio-shortcode\" id=\"audio-23966-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2021_07_10.mp3?_=1\" \/><a href=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2021_07_10.mp3\">https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2021_07_10.mp3<\/a><\/audio>\n<p><a title=\"mp3 download\" href=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2021_07_10.mp3\" target=\"_blank\" rel=\"noopener noreferrer\">mp3 download<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few weeks ago I told Bart off the air that when he was done with his mini-series within a series all about the version control system Git, I&#8217;d like a few minutes with him offline so he could explain how to ignore files in Git. I knew there was a way to do it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":18994,"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":[2064,4670,4669,4307,4671,1655],"class_list":["post-23966","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-posts","category-ccatp","category-podcasts","category-programming-by-stealth","tag-git","tag-git-ignore","tag-ignore","tag-version-control","tag-versioning","tag-versions"],"jetpack_featured_media_url":"https:\/\/www.podfeet.com\/blog\/wp-content\/uploads\/2019\/08\/PBS_Logo-1-300x300_no_alpha.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/23966","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=23966"}],"version-history":[{"count":2,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/23966\/revisions"}],"predecessor-version":[{"id":23968,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/23966\/revisions\/23968"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media\/18994"}],"wp:attachment":[{"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/media?parent=23966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/categories?post=23966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/tags?post=23966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}