<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Git on Khadirullah Mohammad</title><link>https://khadirullah.com/tags/git/</link><description>Recent content in Git on Khadirullah Mohammad</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>contact@khadirullah.com (Khadirullah Mohammad)</managingEditor><webMaster>contact@khadirullah.com (Khadirullah Mohammad)</webMaster><copyright>© 2026 Khadirullah Mohammad</copyright><lastBuildDate>Thu, 16 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://khadirullah.com/tags/git/index.xml" rel="self" type="application/rss+xml"/><item><title>Git Submodule Silently Became Regular Files — How I Diagnosed and Fixed It</title><link>https://khadirullah.com/blog/git-submodule-regular-files-fix/</link><pubDate>Thu, 16 Jul 2026 00:00:00 +0000</pubDate><author>contact@khadirullah.com (Khadirullah Mohammad)</author><guid>https://khadirullah.com/blog/git-submodule-regular-files-fix/</guid><description>I ran &lt;code&gt;git submodule update --remote --merge&lt;/code&gt; and nothing happened. My Hugo theme was stuck at an old version. Turns out I had accidentally replaced the submodule with manually copied files without realizing it. Here&amp;rsquo;s how I diagnosed the git state mismatch, restored the proper submodule, and fixed the Cloudflare Pages deployment failure that followed.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://khadirullah.com/blog/git-submodule-regular-files-fix/featured.svg"/></item><item><title>I Deleted Files From Git But They Were Still There — Removing Objects From Git History</title><link>https://khadirullah.com/blog/git-filter-repo-clean-history/</link><pubDate>Sun, 12 Jul 2026 00:00:00 +0000</pubDate><author>contact@khadirullah.com (Khadirullah Mohammad)</author><guid>https://khadirullah.com/blog/git-filter-repo-clean-history/</guid><description>I accidentally shipped 3MB of unused screenshots to production through my Hugo blog. Deleting them wasn&amp;rsquo;t enough. They lived forever in git history. Here&amp;rsquo;s how I investigated, cleaned up, and verified the purge using git filter-repo.</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://khadirullah.com/blog/git-filter-repo-clean-history/featured.svg"/></item></channel></rss>