{"id":8752,"date":"2022-03-29T20:00:56","date_gmt":"2022-03-29T19:00:56","guid":{"rendered":"https:\/\/europe.wordcamp.org\/2022\/?post_type=wcb_session&#038;p=8752"},"modified":"2022-06-03T13:54:18","modified_gmt":"2022-06-03T12:54:18","slug":"git-and-github-for-theme-development","status":"publish","type":"wcb_session","link":"https:\/\/europe.wordcamp.org\/2022\/session\/git-and-github-for-theme-development\/","title":{"rendered":"Git and GitHub for theme development (Session Full)"},"content":{"rendered":"\n<p>If you&#8217;ve ever edited a WordPress theme, you&#8217;ve probably used the Theme File Editor. It&#8217;s easy to do so but also extremely dangerous: if you make a mistake and you can&#8217;t go back to an earlier version, you&#8217;re going to have a hard time. Luckily, Version Control Systems (VCS) can help you in such situations. Using a VCS, you can quickly retrieve who made changes to a codebase, what they changed, and also when and where (and maybe even why) such changes were made. If you make a mistake, you can revert it in moments, but you can also go back in time and revise changes made five years ago! In this workshop, you&#8217;ll learn the very basics of how to use Git on the command line to manage a local codebase on your computer (such as the theme for a WordPress website), and how GitHub allows you to host your repositories remotely, so that you can easily share them with others, and even allow them to contribute to your project.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve ever edited a WordPress theme, you&#8217;ve probably used the Theme File Editor. It&#8217;s easy to do so but also extremely dangerous: if you make a mistake and you can&#8217;t go back to an earlier version, you&#8217;re going to have a hard time. Luckily, Version Control Systems (VCS) can help you in such situations. &hellip; <a href=\"https:\/\/europe.wordcamp.org\/2022\/session\/git-and-github-for-theme-development\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Git and GitHub for theme development (Session Full)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":16073704,"featured_media":0,"template":"","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_wcpt_session_time":1654272000,"_wcpt_session_duration":3600,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[9920],"footnotes":""},"session_track":[49],"session_category":[53],"class_list":["post-8752","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-workshop-2","wcb_session_category-development"],"jetpack_sharing_enabled":true,"session_date_time":{"date":"3 June 2022","time":"17:00"},"session_speakers":[{"id":"9920","slug":"stefano-minoia","name":"Stefano Minoia","link":"https:\/\/europe.wordcamp.org\/2022\/speaker\/stefano-minoia\/"}],"session_cats_rendered":"Development","_links":{"self":[{"href":"https:\/\/europe.wordcamp.org\/2022\/wp-json\/wp\/v2\/sessions\/8752","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/europe.wordcamp.org\/2022\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/europe.wordcamp.org\/2022\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":4,"href":"https:\/\/europe.wordcamp.org\/2022\/wp-json\/wp\/v2\/sessions\/8752\/revisions"}],"predecessor-version":[{"id":16226,"href":"https:\/\/europe.wordcamp.org\/2022\/wp-json\/wp\/v2\/sessions\/8752\/revisions\/16226"}],"speakers":[{"embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2022\/wp-json\/wp\/v2\/speakers\/9920"}],"author":[{"embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2022\/wp-json\/wporg\/v1\/users\/ryokuhi"}],"wp:attachment":[{"href":"https:\/\/europe.wordcamp.org\/2022\/wp-json\/wp\/v2\/media?parent=8752"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2022\/wp-json\/wp\/v2\/session_track?post=8752"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2022\/wp-json\/wp\/v2\/session_category?post=8752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}