{"id":22944,"date":"2021-01-31T16:31:13","date_gmt":"2021-02-01T00:31:13","guid":{"rendered":"https:\/\/www.podfeet.com\/blog\/?p=22944"},"modified":"2021-01-31T16:31:13","modified_gmt":"2021-02-01T00:31:13","slug":"ccatp-669","status":"publish","type":"post","link":"https:\/\/www.podfeet.com\/blog\/2021\/01\/ccatp-669\/","title":{"rendered":"CCATP #669 \u2013 Bart Busschots on PBS 111 of X \u2013\u00a0Stashing Changes"},"content":{"rendered":"<p>In this installment of Programming By Stealth, Bart teaches us how Git can help us when we forget to switch to the correct branch before starting to make changes to our code.  We&#8217;re only human, and we will forget, and Git&#8217;s <code>stash<\/code> command allows us to set our changes aside, switch to or even create and switch to the correct branch and then apply our changes. His explanations and repetition in the exercises really cement the knowledge.  As a bonus tip, he teaches us how to make shell variables inside the Terminal which will help us with some of the repetitive typing in the future.<\/p>\n<p>Bart&#8217;s tutorial shownotes are at <a href=\"https:\/\/pbs.bartificer.net\/pbs111\" target=\"%5Fblank\" rel=\"noopener\">pbs.bartificer.net\/pbs111<\/a><\/p>\n<audio class=\"wp-audio-shortcode\" id=\"audio-22944-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2021_01_31.mp3?_=1\" \/><a href=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2021_01_31.mp3\">https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2021_01_31.mp3<\/a><\/audio>\n<p><a title=\"mp3 download\" href=\"https:\/\/media.blubrry.com\/nosillacast\/traffic.libsyn.com\/nosillacast\/CCATP_2021_01_31.mp3\" target=\"_blank\" rel=\"noopener noreferrer\">mp3 download<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this installment of Programming By Stealth, Bart teaches us how Git can help us when we forget to switch to the correct branch before starting to make changes to our code. We&#8217;re only human, and we will forget, and Git&#8217;s stash command allows us to set our changes aside, switch to or even create [&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":[2064,4495,240,4496],"class_list":["post-22944","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-stash","tag-programming-by-stealth","tag-stash"],"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\/22944","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=22944"}],"version-history":[{"count":1,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/22944\/revisions"}],"predecessor-version":[{"id":22945,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/posts\/22944\/revisions\/22945"}],"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=22944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/categories?post=22944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.podfeet.com\/blog\/wp-json\/wp\/v2\/tags?post=22944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}