{"id":951,"date":"2025-08-30T09:43:24","date_gmt":"2025-08-30T07:43:24","guid":{"rendered":"https:\/\/deepdocs.dev\/?p=951"},"modified":"2025-08-31T08:48:01","modified_gmt":"2025-08-31T06:48:01","slug":"this-commit-made-me-smile-today","status":"publish","type":"post","link":"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/","title":{"rendered":"This Commit Made Me Smile Today"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This morning, when I was casually browsing I came across this gem of a commit from 12 years back.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now I like git messages as it is a simple yet powerful way to document your code changes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But this particular message read like someone\u2019s diary, and it made me smile.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This <a href=\"https:\/\/github.com\/alphagov\/govuk-puppet\/commit\/63b36f93bf75a848e2125008aa1e880c5861cf46\">commit<\/a> was published by a a developer name Dan Carley in 2013, and was popularised by this post titled &#8220;<a href=\"https:\/\/dhwthompson.com\/2019\/my-favourite-git-commit\">My favourite Git commit<\/a>&#8221; 6 years back.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So here is the commit message:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"920\" height=\"751\" data-attachment-id=\"971\" data-permalink=\"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/screenshot-2025-08-30-at-20-34-24\/\" data-orig-file=\"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-30-at-20.34.24.png?fit=920%2C751&amp;ssl=1\" data-orig-size=\"920,751\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot 2025-08-30 at 20.34.24\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-30-at-20.34.24.png?fit=920%2C751&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-30-at-20.34.24.png?resize=920%2C751&#038;ssl=1\" alt=\"\" class=\"wp-image-971\" srcset=\"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-30-at-20.34.24.png?w=920&amp;ssl=1 920w, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-30-at-20.34.24.png?resize=300%2C245&amp;ssl=1 300w, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-30-at-20.34.24.png?resize=768%2C627&amp;ssl=1 768w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The header of this commit is a pretty straight forward \u201cConvert template to US-ASCII to fix error\u201d, however the body of the message, which I have never seen anybody use, read like someone\u2019s chain of thought.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In a nutshell, the message documents fixing a non-ASCII character bug when executed in an US-ASCII environment.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">At first Dan shares he discovered the bug:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">I introduced some tests in a feature branch to match the contents of `\/etc\/nginx\/router_routes.conf`. They worked fine when run with `bundle exec rake spec` or `bundle exec rspec modules\/router\/spec`. But when run as `bundle exec rake` each should block failed with: ArgumentError: invalid byte sequence in US-ASCII<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then how he reproduced it:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">I eventually found that removing the `.with_content(\/\/)` matchers made the errors go away. That there weren&#8217;t any weird characters in the spec file. And that it could be reproduced by requiring Puppet in the same interpreter with: rake -E &#8216;require &#8220;puppet&#8221;&#8216; spec<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And eventually, how he found the offending file:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">That particular template appears to be the only file in our codebase with an identified encoding of `utf-8`. All others are `us-ascii`:<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">From there, he documented his exploration step by step, running commands, checking MIME types of each, and finally isolating the culprit: a whitespace character in the file. <br><br>And finally, fixing it <em>by hand<\/em>.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">After replacing it (by hand) the file identifies as `us-ascii` again:<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The author ends the message with a sigh of relief, although with a tinge of regret<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Now the tests work! One hour of my life I won&#8217;t get back..<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">The level of detail here is what makes this commit message so delightful. It isn&#8217;t your typical, almost cryptic <code>fix bug<\/code> message, but something that feels like reading someone\u2019s diary.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now commit messages don\u2019t have to read like stories. If you Google best practices for writing commit messages, you will be inundated with resources, with none of them recommending you to write verbose commit messages<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The author of &#8220;My favourite Git Commit&#8221; post argued that the commit message makes it searchable. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, you <em>could<\/em> search for this bug using git commit search <code>git log --grep \"invalid byte sequence\"<\/code> but that&#8217;s just not a typical thing in a developer&#8217;s workflow. Also, a developer would have to know apriori that this bug is documented as git message.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Should the author have written a documentation instead? In my opinion that would have been a reasonable choice because they are simply more accessible.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My personal take is that the commit itself serves no functional purpose, nor does it help anyone. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Recently, in another post titled &#8220;<a href=\"https:\/\/mtlynch.io\/no-longer-my-favorite-git-commit\/\">No longer My Favorite Git Commit<\/a>&#8220;, the author Michael Lynch criticised the original post highlighting the presentation of information in the commit as problematic, that it <em>buries<\/em> the most important information at the end which nobody cares about.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In that post the author investigated the commit thoroughly, and at the end rephrases the original commit message, with a lot more details on the origin of the bug, and with the whole message clearly organised into different sub-sections.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"461\" height=\"1024\" data-attachment-id=\"976\" data-permalink=\"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/no-longer-my-favorite-git-commit-%c2%b7-mtlynch-io-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/No-Longer-My-Favorite-Git-Commit-%C2%B7-mtlynch-io-1.png?fit=812%2C1802&amp;ssl=1\" data-orig-size=\"812,1802\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"No-Longer-My-Favorite-Git-Commit-\u00b7-mtlynch-io\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/No-Longer-My-Favorite-Git-Commit-%C2%B7-mtlynch-io-1.png?fit=461%2C1024&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/No-Longer-My-Favorite-Git-Commit-%C2%B7-mtlynch-io-1.png?resize=461%2C1024&#038;ssl=1\" alt=\"\" class=\"wp-image-976\" style=\"aspect-ratio:0.4506385316574914;width:640px;height:auto\" srcset=\"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/No-Longer-My-Favorite-Git-Commit-%C2%B7-mtlynch-io-1.png?resize=461%2C1024&amp;ssl=1 461w, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/No-Longer-My-Favorite-Git-Commit-%C2%B7-mtlynch-io-1.png?resize=135%2C300&amp;ssl=1 135w, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/No-Longer-My-Favorite-Git-Commit-%C2%B7-mtlynch-io-1.png?resize=768%2C1704&amp;ssl=1 768w, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/No-Longer-My-Favorite-Git-Commit-%C2%B7-mtlynch-io-1.png?resize=692%2C1536&amp;ssl=1 692w, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/No-Longer-My-Favorite-Git-Commit-%C2%B7-mtlynch-io-1.png?w=812&amp;ssl=1 812w\" sizes=\"auto, (max-width: 461px) 100vw, 461px\" \/><figcaption class=\"wp-element-caption\">Proposed commit message by Michael Lynch<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When I read rephrased commit message, it made sense but I could not help but wonder if it would have evoked the same sense of compassion and trust the original commit did. It felt almost mechanical.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Especially in a world that has been ruined by AI slop.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We are just humans, and adding a bit of beauty to the most unexpected places is just our thing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let this beautiful commit from 2013 rest in peace.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">About DeepDocs<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/deepdocs.dev\/\">DeepDocs<\/a>&nbsp;is a GitHub app that helps teams automate the mundane task of keeping docs, like READMEs, API references, SDK guides, tutorials etc. up-to-date with your changing codebase. It is completely free to try.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This morning, when I was casually browsing I came across this gem of a commit from 12 years back. Now I like git messages as it is a simple yet powerful way to document your code changes. But this particular message read like someone\u2019s diary, and it made me smile. This commit was published by&#8230;<\/p>\n","protected":false},"author":259061979,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-951","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>This Commit Made Me Smile Today | DeepDocs<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"This Commit Made Me Smile Today | DeepDocs\" \/>\n<meta property=\"og:description\" content=\"This morning, when I was casually browsing I came across this gem of a commit from 12 years back. Now I like git messages as it is a simple yet powerful way to document your code changes. But this particular message read like someone\u2019s diary, and it made me smile. This commit was published by...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/\" \/>\n<meta property=\"og:site_name\" content=\"DeepDocs\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/profile.php?id=61560455754198\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-30T07:43:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-31T06:48:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-30-at-20.34.24.png\" \/>\n<meta name=\"author\" content=\"Neel Das\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Nilzkool\" \/>\n<meta name=\"twitter:site\" content=\"@Nilzkool\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Neel Das\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/this-commit-made-me-smile-today\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/this-commit-made-me-smile-today\\\/\"},\"author\":{\"name\":\"Neel Das\",\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/#\\\/schema\\\/person\\\/cf2ace6ae4dae8b34ab48a3e833ceede\"},\"headline\":\"This Commit Made Me Smile Today\",\"datePublished\":\"2025-08-30T07:43:24+00:00\",\"dateModified\":\"2025-08-31T06:48:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/this-commit-made-me-smile-today\\\/\"},\"wordCount\":717,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/this-commit-made-me-smile-today\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/deepdocs.dev\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/Screenshot-2025-08-30-at-20.34.24.png\",\"articleSection\":[\"Uncategorized\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/deepdocs.dev\\\/this-commit-made-me-smile-today\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/this-commit-made-me-smile-today\\\/\",\"url\":\"https:\\\/\\\/deepdocs.dev\\\/this-commit-made-me-smile-today\\\/\",\"name\":\"This Commit Made Me Smile Today | DeepDocs\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/this-commit-made-me-smile-today\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/this-commit-made-me-smile-today\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/deepdocs.dev\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/Screenshot-2025-08-30-at-20.34.24.png\",\"datePublished\":\"2025-08-30T07:43:24+00:00\",\"dateModified\":\"2025-08-31T06:48:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/this-commit-made-me-smile-today\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/deepdocs.dev\\\/this-commit-made-me-smile-today\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/this-commit-made-me-smile-today\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/deepdocs.dev\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/Screenshot-2025-08-30-at-20.34.24.png?fit=920%2C751&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/deepdocs.dev\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/Screenshot-2025-08-30-at-20.34.24.png?fit=920%2C751&ssl=1\",\"width\":920,\"height\":751},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/this-commit-made-me-smile-today\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/deepdocs.dev\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"This Commit Made Me Smile Today\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/#website\",\"url\":\"https:\\\/\\\/deepdocs.dev\\\/\",\"name\":\"DeepDocs\",\"description\":\"Fix Your Outdated GitHub Docs on Autopilot\",\"publisher\":{\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/deepdocs.dev\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/#organization\",\"name\":\"DeepDocs\",\"url\":\"https:\\\/\\\/deepdocs.dev\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/deepdocs.dev\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/6.jpg?fit=408%2C400&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/deepdocs.dev\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/6.jpg?fit=408%2C400&ssl=1\",\"width\":408,\"height\":400,\"caption\":\"DeepDocs\"},\"image\":{\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/profile.php?id=61560455754198\",\"https:\\\/\\\/x.com\\\/Nilzkool\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/deepdocs-dev\",\"https:\\\/\\\/www.youtube.com\\\/@DrNeelDas\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/deepdocs.dev\\\/#\\\/schema\\\/person\\\/cf2ace6ae4dae8b34ab48a3e833ceede\",\"name\":\"Neel Das\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/227924e7431a87895450dcd654b650e5011891dcba027fd9c782941985cbbb2d?s=96&d=identicon&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/227924e7431a87895450dcd654b650e5011891dcba027fd9c782941985cbbb2d?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/227924e7431a87895450dcd654b650e5011891dcba027fd9c782941985cbbb2d?s=96&d=identicon&r=g\",\"caption\":\"Neel Das\"},\"sameAs\":[\"http:\\\/\\\/neeldasf2ac55feaf.wordpress.com\"],\"url\":\"https:\\\/\\\/deepdocs.dev\\\/author\\\/neeldasf2ac55feaf\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"This Commit Made Me Smile Today | DeepDocs","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/","og_locale":"en_GB","og_type":"article","og_title":"This Commit Made Me Smile Today | DeepDocs","og_description":"This morning, when I was casually browsing I came across this gem of a commit from 12 years back. Now I like git messages as it is a simple yet powerful way to document your code changes. But this particular message read like someone\u2019s diary, and it made me smile. This commit was published by...","og_url":"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/","og_site_name":"DeepDocs","article_publisher":"https:\/\/www.facebook.com\/profile.php?id=61560455754198","article_published_time":"2025-08-30T07:43:24+00:00","article_modified_time":"2025-08-31T06:48:01+00:00","og_image":[{"url":"https:\/\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-30-at-20.34.24.png","type":"","width":"","height":""}],"author":"Neel Das","twitter_card":"summary_large_image","twitter_creator":"@Nilzkool","twitter_site":"@Nilzkool","twitter_misc":{"Written by":"Neel Das","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/#article","isPartOf":{"@id":"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/"},"author":{"name":"Neel Das","@id":"https:\/\/deepdocs.dev\/#\/schema\/person\/cf2ace6ae4dae8b34ab48a3e833ceede"},"headline":"This Commit Made Me Smile Today","datePublished":"2025-08-30T07:43:24+00:00","dateModified":"2025-08-31T06:48:01+00:00","mainEntityOfPage":{"@id":"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/"},"wordCount":717,"commentCount":0,"publisher":{"@id":"https:\/\/deepdocs.dev\/#organization"},"image":{"@id":"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/#primaryimage"},"thumbnailUrl":"https:\/\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-30-at-20.34.24.png","articleSection":["Uncategorized"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/","url":"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/","name":"This Commit Made Me Smile Today | DeepDocs","isPartOf":{"@id":"https:\/\/deepdocs.dev\/#website"},"primaryImageOfPage":{"@id":"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/#primaryimage"},"image":{"@id":"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/#primaryimage"},"thumbnailUrl":"https:\/\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-30-at-20.34.24.png","datePublished":"2025-08-30T07:43:24+00:00","dateModified":"2025-08-31T06:48:01+00:00","breadcrumb":{"@id":"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/#primaryimage","url":"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-30-at-20.34.24.png?fit=920%2C751&ssl=1","contentUrl":"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-30-at-20.34.24.png?fit=920%2C751&ssl=1","width":920,"height":751},{"@type":"BreadcrumbList","@id":"https:\/\/deepdocs.dev\/this-commit-made-me-smile-today\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/deepdocs.dev\/"},{"@type":"ListItem","position":2,"name":"This Commit Made Me Smile Today"}]},{"@type":"WebSite","@id":"https:\/\/deepdocs.dev\/#website","url":"https:\/\/deepdocs.dev\/","name":"DeepDocs","description":"Fix Your Outdated GitHub Docs on Autopilot","publisher":{"@id":"https:\/\/deepdocs.dev\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/deepdocs.dev\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/deepdocs.dev\/#organization","name":"DeepDocs","url":"https:\/\/deepdocs.dev\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/deepdocs.dev\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/06\/6.jpg?fit=408%2C400&ssl=1","contentUrl":"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/06\/6.jpg?fit=408%2C400&ssl=1","width":408,"height":400,"caption":"DeepDocs"},"image":{"@id":"https:\/\/deepdocs.dev\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/profile.php?id=61560455754198","https:\/\/x.com\/Nilzkool","https:\/\/www.linkedin.com\/company\/deepdocs-dev","https:\/\/www.youtube.com\/@DrNeelDas"]},{"@type":"Person","@id":"https:\/\/deepdocs.dev\/#\/schema\/person\/cf2ace6ae4dae8b34ab48a3e833ceede","name":"Neel Das","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/227924e7431a87895450dcd654b650e5011891dcba027fd9c782941985cbbb2d?s=96&d=identicon&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/227924e7431a87895450dcd654b650e5011891dcba027fd9c782941985cbbb2d?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/227924e7431a87895450dcd654b650e5011891dcba027fd9c782941985cbbb2d?s=96&d=identicon&r=g","caption":"Neel Das"},"sameAs":["http:\/\/neeldasf2ac55feaf.wordpress.com"],"url":"https:\/\/deepdocs.dev\/author\/neeldasf2ac55feaf\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pgAtwt-fl","jetpack-related-posts":[{"id":3615,"url":"https:\/\/deepdocs.dev\/git-commit-amend\/","url_meta":{"origin":951,"position":0},"title":"Git Commit Amend: Rewrite Git History Safely","author":"Neel Das","date":"6 June 2026","format":false,"excerpt":"You've done it before. You make a commit, hit enter, and then notice the commit message has a typo, a file is missing, or a tiny fix should have been included with the change you just recorded. That's the moment git commit --amend earns its place in a professional workflow.\u2026","rel":"","context":"In &quot;Docs&quot;","block_context":{"text":"Docs","link":"https:\/\/deepdocs.dev\/category\/docs\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2026\/05\/image-1.jpg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2026\/05\/image-1.jpg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2026\/05\/image-1.jpg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2026\/05\/image-1.jpg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2026\/05\/image-1.jpg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1982,"url":"https:\/\/deepdocs.dev\/how-to-commit-to-github\/","url_meta":{"origin":951,"position":1},"title":"How to Commit to GitHub: A Developer&#8217;s Guide","author":"Emmanuel Mumba","date":"5 January 2026","format":false,"excerpt":"TL;DR: How to Commit to GitHub For Power & Control: Use the Command-Line Interface (CLI) with git add, git commit -m \"message\", and git push. This is the most direct and scriptable method. For Quick Edits: Use the GitHub Web UI. Navigate to a file, click the pencil icon to\u2026","rel":"","context":"In &quot;Docs&quot;","block_context":{"text":"Docs","link":"https:\/\/deepdocs.dev\/category\/docs\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/12\/how-to-commit-to-github-developer-guide-1.jpg?fit=1200%2C673&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/12\/how-to-commit-to-github-developer-guide-1.jpg?fit=1200%2C673&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/12\/how-to-commit-to-github-developer-guide-1.jpg?fit=1200%2C673&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/12\/how-to-commit-to-github-developer-guide-1.jpg?fit=1200%2C673&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/12\/how-to-commit-to-github-developer-guide-1.jpg?fit=1200%2C673&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1377,"url":"https:\/\/deepdocs.dev\/how-to-push-code-to-github\/","url_meta":{"origin":951,"position":2},"title":"How to Push Code to GitHub: A Practical Guide","author":"Emmanuel Mumba","date":"19 October 2025","format":false,"excerpt":"Pushing code to GitHub is a fundamental skill for any developer. At its core, it's a simple, five-command process: init, add, commit, remote, and push. Once you master this workflow, you can turn local projects into shareable, version-controlled repositories, paving the way for collaboration and deployment. TL;DR: Pushing Code to\u2026","rel":"","context":"In &quot;Docs&quot;","block_context":{"text":"Docs","link":"https:\/\/deepdocs.dev\/category\/docs\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/10\/Blue-Gradient-Modern-Sport-Presentation-1-4.jpg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/10\/Blue-Gradient-Modern-Sport-Presentation-1-4.jpg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/10\/Blue-Gradient-Modern-Sport-Presentation-1-4.jpg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/10\/Blue-Gradient-Modern-Sport-Presentation-1-4.jpg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/10\/Blue-Gradient-Modern-Sport-Presentation-1-4.jpg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3413,"url":"https:\/\/deepdocs.dev\/git-remove-file\/","url_meta":{"origin":951,"position":3},"title":"Master git remove file: Safe Deletion Guide","author":"Neel Das","date":"14 May 2026","format":false,"excerpt":"You remove a file from Git, commit, push, and move on. Then someone checks out an older commit and the file is still there. Or worse, the file contained credentials, a private key, or a giant binary that keeps bloating clones. That\u2019s why git remove file isn\u2019t one command. It\u2019s\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2026\/05\/git-remove-file-git-guide-1.jpg?fit=1200%2C673&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2026\/05\/git-remove-file-git-guide-1.jpg?fit=1200%2C673&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2026\/05\/git-remove-file-git-guide-1.jpg?fit=1200%2C673&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2026\/05\/git-remove-file-git-guide-1.jpg?fit=1200%2C673&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2026\/05\/git-remove-file-git-guide-1.jpg?fit=1200%2C673&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2047,"url":"https:\/\/deepdocs.dev\/get-started-with-git\/","url_meta":{"origin":951,"position":4},"title":"A Practical Guide to Get Started With Git","author":"Neel Das","date":"11 January 2026","format":false,"excerpt":"TL;DR: Your First Steps with Git Install & Configure: First, install Git from the official website and introduce yourself with git config --global user.name \"Your Name\" and git config --global user.email \"youremail@example.com\". Create or Clone: Start a new project with git init in your project folder, or copy an existing\u2026","rel":"","context":"In &quot;Docs&quot;","block_context":{"text":"Docs","link":"https:\/\/deepdocs.dev\/category\/docs\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/12\/get-started-with-git-git-guide-1.jpg?fit=1200%2C673&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/12\/get-started-with-git-git-guide-1.jpg?fit=1200%2C673&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/12\/get-started-with-git-git-guide-1.jpg?fit=1200%2C673&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/12\/get-started-with-git-git-guide-1.jpg?fit=1200%2C673&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/12\/get-started-with-git-git-guide-1.jpg?fit=1200%2C673&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2163,"url":"https:\/\/deepdocs.dev\/git-reset-hard-origin\/","url_meta":{"origin":951,"position":5},"title":"A Developer&#8217;s Guide to Git Reset Hard Origin","author":"Neel Das","date":"10 February 2026","format":false,"excerpt":"TL;DR: How to Safely Use git reset --hard origin\/<branch> What it does: Forces your local branch to perfectly match the remote branch, destroying all local commits and uncommitted changes. When to use it: Ideal for abandoning failed local experiments or fixing a corrupted branch when you're 100% sure your local\u2026","rel":"","context":"In &quot;Docs&quot;","block_context":{"text":"Docs","link":"https:\/\/deepdocs.dev\/category\/docs\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/12\/git-reset-hard-origin-developers-1.jpg?fit=1200%2C673&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/12\/git-reset-hard-origin-developers-1.jpg?fit=1200%2C673&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/12\/git-reset-hard-origin-developers-1.jpg?fit=1200%2C673&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/12\/git-reset-hard-origin-developers-1.jpg?fit=1200%2C673&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/deepdocs.dev\/wp-content\/uploads\/2025\/12\/git-reset-hard-origin-developers-1.jpg?fit=1200%2C673&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/deepdocs.dev\/wp-json\/wp\/v2\/posts\/951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deepdocs.dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deepdocs.dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deepdocs.dev\/wp-json\/wp\/v2\/users\/259061979"}],"replies":[{"embeddable":true,"href":"https:\/\/deepdocs.dev\/wp-json\/wp\/v2\/comments?post=951"}],"version-history":[{"count":20,"href":"https:\/\/deepdocs.dev\/wp-json\/wp\/v2\/posts\/951\/revisions"}],"predecessor-version":[{"id":984,"href":"https:\/\/deepdocs.dev\/wp-json\/wp\/v2\/posts\/951\/revisions\/984"}],"wp:attachment":[{"href":"https:\/\/deepdocs.dev\/wp-json\/wp\/v2\/media?parent=951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deepdocs.dev\/wp-json\/wp\/v2\/categories?post=951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deepdocs.dev\/wp-json\/wp\/v2\/tags?post=951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}