<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Git-Submodules on Khadirullah Mohammad</title><link>https://khadirullah.com/tags/git-submodules/</link><description>Recent content in Git-Submodules 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-submodules/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></channel></rss>