{"id":46803,"date":"2025-02-20T21:48:12","date_gmt":"2025-02-21T02:48:12","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=46803"},"modified":"2025-02-25T16:41:26","modified_gmt":"2025-02-25T21:41:26","slug":"beejs-guide-to-git","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2025\/02\/20\/beejs-guide-to-git\/","title":{"rendered":"Beej&rsquo;s Guide to Git"},"content":{"rendered":"<p><a href=\"https:\/\/beej.us\/guide\/bggit\/html\/split\/\">Brian Hall<\/a> (via <a href=\"https:\/\/news.ycombinator.com\/item?id=42941283\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/beej.us\/guide\/bggit\/html\/split\/\">\n<p>Which leads us directly to the goal: let&rsquo;s make sense of all this and go from complete Git novice up to intermediate! We&rsquo;ll start off easy (allegedly) with commands mixed in with some theory of operation. And we&rsquo;ll see that understanding what Git does under the hood is critical to using it correctly.<\/p>\n<p>And I <em>promise<\/em> there&rsquo;s definitely a chance that after you get through some of this guide, you might actually start to appreciate Git and like using it.<\/p>\n<\/blockquote>\n<p>He also has some other great <a href=\"https:\/\/beej.us\/guide\/\">guides<\/a>, most notably the one about <a href=\"https:\/\/beej.us\/guide\/bgnet\/\">network programming<\/a>.<\/p>\n\n<p id=\"beejs-guide-to-git-update-2025-02-25\">Update (2025-02-25): <a href=\"https:\/\/mastodon.social\/@ednl\/114040947971995825\">ednl<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@ednl\/114040947971995825\"><p>Deserves a mention: @b0rk&rsquo;s &ldquo;<a href=\"https:\/\/wizardzines.com\/zines\/oh-shit-git\/\">Oh shit, git!<\/a>&rdquo; which has a slightly different premise but in the end probably targets the same people who want to better understand git, and her git <a href=\"https:\/\/wizardzines.com\/git-cheat-sheet.pdf\">cheat sheet<\/a>.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/social.jvns.ca\/@b0rk\/114065720421824269\">Julia Evans<\/a>:<\/p>\n<blockquote cite=\"https:\/\/social.jvns.ca\/@b0rk\/114065720421824269\"><p>ah yeah it&rsquo;s a bit confusing, &ldquo;<a href=\"https:\/\/wizardzines.com\/zines\/git\/\">how git works<\/a>&rdquo; is the one that explains how git works<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Brian Hall (via Hacker News): Which leads us directly to the goal: let&rsquo;s make sense of all this and go from complete Git novice up to intermediate! We&rsquo;ll start off easy (allegedly) with commands mixed in with some theory of operation. And we&rsquo;ll see that understanding what Git does under the hood is critical to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2025-02-21T02:49:53Z","apple_news_api_id":"d59dea6e-49ba-4526-8aaf-8d73e4cb3ac8","apple_news_api_modified_at":"2025-02-25T21:41:29Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAQ==","apple_news_api_share_url":"https:\/\/apple.news\/A1Z3qbkm6RSaKr41z5Ms6yA","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[164,377,71,376],"class_list":["post-46803","post","type-post","status-publish","format-standard","hentry","category-technology","tag-documentation","tag-git","tag-programming","tag-versioncontrol"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/46803","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=46803"}],"version-history":[{"count":3,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/46803\/revisions"}],"predecessor-version":[{"id":46841,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/46803\/revisions\/46841"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=46803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=46803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=46803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}