<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hugo on Arshad Siddiqui</title><link>https://arshadhs.github.io/categories/hugo/</link><description>Recent content in Hugo on Arshad Siddiqui</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 22 Jul 2025 19:29:34 +0100</lastBuildDate><atom:link href="https://arshadhs.github.io/categories/hugo/index.xml" rel="self" type="application/rss+xml"/><item><title>Hugo Notes</title><link>https://arshadhs.github.io/docs/technology/hugo/</link><pubDate>Tue, 22 Jul 2025 19:29:34 +0100</pubDate><guid>https://arshadhs.github.io/docs/technology/hugo/</guid><description>&lt;h1 id="hugo-notes">
 Hugo Notes
 
 &lt;a class="anchor" href="#hugo-notes">#&lt;/a>
 
&lt;/h1>
&lt;h2 id="git-ignore">
 Git Ignore
 
 &lt;a class="anchor" href="#git-ignore">#&lt;/a>
 
&lt;/h2>
&lt;pre tabindex="0">&lt;code>.hugo_build.lock
node_modules/
public/
resources/Add comment
&lt;/code>&lt;/pre>&lt;h2 id="theme-switch">
 Theme Switch
 
 &lt;a class="anchor" href="#theme-switch">#&lt;/a>
 
&lt;/h2>
&lt;p>To reuse a theme as a sub-module, when seeing following error:
fatal: A git directory for &amp;rsquo;themes/hugo-book&amp;rsquo; is found locally with remote(s):
origin &lt;a href="https://github.com/alex-shpak/hugo-book">https://github.com/alex-shpak/hugo-book&lt;/a>
If you want to reuse this local git directory instead of cloning again from
&lt;a href="https://github.com/alex-shpak/hugo-book">https://github.com/alex-shpak/hugo-book&lt;/a>
use the &amp;lsquo;&amp;ndash;force&amp;rsquo; option. If the local git directory is not the correct repo
or you are unsure what this means choose another name with the &amp;lsquo;&amp;ndash;name&amp;rsquo; option.&lt;/p></description></item></channel></rss>