<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>VCS on Zombie Farm</title><link>https://zombie-farm-01.vercel.app/topic/vcs/</link><description>Recent content in VCS on Zombie Farm</description><image><title>Zombie Farm</title><url>https://zombie-farm-01.vercel.app/images/og-default.png</url><link>https://zombie-farm-01.vercel.app/images/og-default.png</link></image><generator>Hugo -- 0.156.0</generator><language>en-us</language><lastBuildDate>Thu, 05 Feb 2026 19:00:46 +0000</lastBuildDate><atom:link href="https://zombie-farm-01.vercel.app/topic/vcs/index.xml" rel="self" type="application/rss+xml"/><item><title>Fix LFS in git: VCS Solution (2026)</title><link>https://zombie-farm-01.vercel.app/fix-lfs-in-git-vcs-solution-2026/</link><pubDate>Tue, 27 Jan 2026 19:08:40 +0000</pubDate><guid>https://zombie-farm-01.vercel.app/fix-lfs-in-git-vcs-solution-2026/</guid><description>Fix LFS in git with this step-by-step guide. Quick solution + permanent fix for VCS. Updated 2026.</description><content:encoded><![CDATA[<h1 id="how-to-fix-lfs-in-git-2026-guide">How to Fix &ldquo;LFS&rdquo; in git (2026 Guide)</h1>
<h2 id="the-short-answer">The Short Answer</h2>
<p>To fix the &ldquo;LFS&rdquo; error in git, which manifests as a Version Control System (VCS) issue, you need to adjust your git configuration to properly handle Large File Storage (LFS) pointer files. This typically involves updating your git LFS settings to ensure that large files are tracked correctly, reducing sync times from 15 minutes to under 30 seconds in some cases.</p>
<h2 id="why-this-error-happens">Why This Error Happens</h2>
<ul>
<li><strong>Reason 1:</strong> The most common cause of the &ldquo;LFS&rdquo; error is the improper configuration of git LFS, leading to issues with how large files are tracked and stored. This can happen when git LFS is not installed or configured correctly on your system.</li>
<li><strong>Reason 2:</strong> An edge case cause is when your repository contains very large files that exceed the default size limits set by git LFS, causing the tracking process to fail. This can also occur if your network connection is unstable, interrupting the file transfer process.</li>
<li><strong>Impact:</strong> The error impacts the Version Control System (VCS) by causing delays, file corruption, or even complete failure to track changes, especially for large files. This can significantly hinder development workflows, particularly in teams working on projects with substantial media assets.</li>
</ul>
<h2 id="step-by-step-solutions">Step-by-Step Solutions</h2>
<h3 id="method-1-the-quick-fix">Method 1: The Quick Fix</h3>
<ol>
<li>Go to <strong>git config</strong> &gt; <strong>lfs.threshold</strong></li>
<li>Set the threshold to a higher value (e.g., <code>git config lfs.threshold 100MB</code>) to allow larger files to be tracked without triggering LFS.</li>
<li>Refresh your repository by running <code>git lfs fetch</code> and then <code>git pull</code> to ensure all changes are synced.</li>
</ol>
<h3 id="method-2-the-command-lineadvanced-fix">Method 2: The Command Line/Advanced Fix</h3>
<p>For a more permanent solution, especially in cases where the quick fix doesn&rsquo;t resolve the issue, you can use the command line to adjust git LFS settings directly:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">git lfs install --local --skip-smudge
</span></span><span class="line"><span class="cl">git add .gitattributes
</span></span><span class="line"><span class="cl">git commit -m <span class="s2">&#34;Disable LFS smudge for local repo&#34;</span>
</span></span></code></pre></td></tr></table>
</div>
</div><p>This method disables the LFS smudge filter for your local repository, which can help resolve issues related to large file tracking.</p>
<h2 id="prevention-how-to-stop-this-coming-back">Prevention: How to Stop This Coming Back</h2>
<ul>
<li>Best practice configuration: Ensure git LFS is properly installed and configured on all team members&rsquo; machines. Regularly review and adjust the <code>lfs.threshold</code> setting based on your project&rsquo;s specific needs.</li>
<li>Monitoring tips: Use <code>git lfs ls-files</code> to list all files tracked by LFS and monitor your repository&rsquo;s size and performance regularly to catch any potential issues early.</li>
</ul>
<h2 id="if-you-cant-fix-it">If You Can&rsquo;t Fix It&hellip;</h2>
<blockquote>
<p>[!WARNING]
If git keeps crashing due to persistent LFS issues, consider switching to <strong>Mercurial</strong> which handles large files natively without the need for additional tools like git LFS, potentially reducing the complexity and errors associated with large file tracking.</p>
</blockquote>
<h2 id="faq">FAQ</h2>
<p>Q: Will I lose data fixing this?
A: The risk of data loss when fixing LFS issues in git is minimal if you follow the steps carefully. However, as with any operation involving your repository, it&rsquo;s essential to back up your data before making significant changes.</p>
<p>Q: Is this a bug in git?
A: The LFS issue is not a bug in git itself but rather a configuration or usage issue related to git LFS, an extension for versioning large files. Git LFS has been regularly updated since its introduction, with version 2.13.0 and later providing significant improvements in handling large files and reducing the occurrence of such errors.</p>
<hr>
<h3 id="-continue-learning">📚 Continue Learning</h3>
<p>Check out our guides on <a href="/tags/git">git</a> and <a href="/tags/lfs">LFS</a>.</p>
]]></content:encoded></item><item><title>Fix Submodule in git: VCS Solution (2026)</title><link>https://zombie-farm-01.vercel.app/fix-submodule-in-git-vcs-solution-2026/</link><pubDate>Tue, 27 Jan 2026 19:08:25 +0000</pubDate><guid>https://zombie-farm-01.vercel.app/fix-submodule-in-git-vcs-solution-2026/</guid><description>Fix Submodule in git with this step-by-step guide. Quick solution + permanent fix for VCS. Updated 2026.</description><content:encoded><![CDATA[<h1 id="how-to-fix-submodule-in-git-2026-guide">How to Fix &ldquo;Submodule&rdquo; in git (2026 Guide)</h1>
<h2 id="the-short-answer">The Short Answer</h2>
<p>To fix the &ldquo;Submodule&rdquo; issue in git, run the command <code>git submodule update --init</code> to initialize and update all submodules, which should resolve the sync issue. If the problem persists, try <code>git submodule sync</code> to synchronize the submodule URLs.</p>
<h2 id="why-this-error-happens">Why This Error Happens</h2>
<ul>
<li><strong>Reason 1:</strong> The most common cause of the &ldquo;Submodule&rdquo; error is a mismatch between the submodule URL in the <code>.gitmodules</code> file and the actual URL of the submodule repository. This can occur when the submodule repository is moved or renamed.</li>
<li><strong>Reason 2:</strong> An edge case cause of this error is when the submodule is not properly initialized or updated, leading to a discrepancy between the expected and actual submodule state. This can happen when using <code>git clone</code> with the <code>--depth 1</code> option, which can prevent the submodule from being initialized.</li>
<li><strong>Impact:</strong> The &ldquo;Submodule&rdquo; error can cause issues with the Version Control System (VCS), leading to problems with syncing, committing, and pushing changes.</li>
</ul>
<h2 id="step-by-step-solutions">Step-by-Step Solutions</h2>
<h3 id="method-1-the-quick-fix">Method 1: The Quick Fix</h3>
<ol>
<li>Go to <strong>git config</strong> &gt; <strong>submodule</strong> settings</li>
<li>Toggle <strong>submodule.recurse</strong> to <code>true</code> using the command <code>git config --global submodule.recurse true</code></li>
<li>Run <code>git submodule update --init</code> to initialize and update all submodules.</li>
</ol>
<h3 id="method-2-the-command-lineadvanced-fix">Method 2: The Command Line/Advanced Fix</h3>
<p>To fix the &ldquo;Submodule&rdquo; issue using the command line, run the following commands:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">git submodule sync
</span></span><span class="line"><span class="cl">git submodule update --init --recursive
</span></span><span class="line"><span class="cl">git add .
</span></span><span class="line"><span class="cl">git commit -m <span class="s2">&#34;Fixed submodule issue&#34;</span>
</span></span></code></pre></td></tr></table>
</div>
</div><p>This will synchronize the submodule URLs, initialize and update all submodules, and commit the changes.</p>
<h2 id="prevention-how-to-stop-this-coming-back">Prevention: How to Stop This Coming Back</h2>
<p>To prevent the &ldquo;Submodule&rdquo; issue from occurring in the future, follow these best practices:</p>
<ul>
<li>Use <code>git clone</code> with the <code>--recursive</code> option to initialize and update submodules automatically.</li>
<li>Run <code>git submodule update --init</code> regularly to ensure submodules are up-to-date.</li>
<li>Monitor your submodule URLs and update them if necessary.</li>
</ul>
<h2 id="if-you-cant-fix-it">If You Can&rsquo;t Fix It&hellip;</h2>
<blockquote>
<p>[!WARNING]
If git keeps crashing or you are unable to resolve the &ldquo;Submodule&rdquo; issue, consider switching to <strong>Mercurial</strong> which handles submodules natively without these errors.</p>
</blockquote>
<h2 id="faq">FAQ</h2>
<p>Q: Will I lose data fixing this?
A: No, fixing the &ldquo;Submodule&rdquo; issue should not result in data loss. However, it&rsquo;s always a good idea to back up your repository before making any changes.</p>
<p>Q: Is this a bug in git?
A: The &ldquo;Submodule&rdquo; issue is not a bug in git, but rather a common problem that can occur when using submodules. Git version 2.35 and later includes improvements to submodule handling, but the issue can still occur if not properly configured.</p>
<hr>
<h3 id="-continue-learning">📚 Continue Learning</h3>
<p>Check out our guides on <a href="/tags/git">git</a> and <a href="/tags/submodule">Submodule</a>.</p>
]]></content:encoded></item><item><title>Fix Conflict in git: VCS Solution (2026)</title><link>https://zombie-farm-01.vercel.app/fix-conflict-in-git-vcs-solution-2026/</link><pubDate>Tue, 27 Jan 2026 19:06:25 +0000</pubDate><guid>https://zombie-farm-01.vercel.app/fix-conflict-in-git-vcs-solution-2026/</guid><description>Fix Conflict in git with this step-by-step guide. Quick solution + permanent fix for VCS. Updated 2026.</description><content:encoded><![CDATA[<h1 id="how-to-fix-conflict-in-git-2026-guide">How to Fix &ldquo;Conflict&rdquo; in git (2026 Guide)</h1>
<h2 id="the-short-answer">The Short Answer</h2>
<p>To resolve a conflict in git, use the command <code>git merge --abort</code> to abort the merge and start over, or use <code>git merge --continue</code> after manually resolving the conflicts. This will allow you to merge the changes and commit the resolved files.</p>
<h2 id="why-this-error-happens">Why This Error Happens</h2>
<ul>
<li><strong>Reason 1:</strong> The most common cause of conflicts in git is when two or more developers modify the same line of code in a file, resulting in a merge conflict when trying to combine the changes.</li>
<li><strong>Reason 2:</strong> An edge case cause of conflicts is when a file is deleted or renamed in one branch, but modified in another, resulting in a conflict when trying to merge the changes.</li>
<li><strong>Impact:</strong> Conflicts can cause the Version Control System (VCS) to become stuck, preventing further commits or merges until the conflict is resolved.</li>
</ul>
<h2 id="step-by-step-solutions">Step-by-Step Solutions</h2>
<h3 id="method-1-the-quick-fix">Method 1: The Quick Fix</h3>
<ol>
<li>Run the command <code>git status</code> to identify the conflicting files.</li>
<li>Open the conflicting files and look for the conflict markers (<code>&lt;&lt;&lt;&lt;&lt;&lt;&lt;</code>, <code>=======</code>, and <code>&gt;&gt;&gt;&gt;&gt;&gt;&gt;</code>).</li>
<li>Manually resolve the conflicts by editing the files and removing the conflict markers.</li>
<li>Run the command <code>git add</code> to stage the resolved files.</li>
<li>Run the command <code>git merge --continue</code> to continue the merge process.</li>
</ol>
<h3 id="method-2-the-command-lineadvanced-fix">Method 2: The Command Line/Advanced Fix</h3>
<p>If you prefer to use the command line, you can use the following commands to resolve the conflict:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">git checkout --ours file.txt
</span></span><span class="line"><span class="cl">git add file.txt
</span></span><span class="line"><span class="cl">git merge --continue
</span></span></code></pre></td></tr></table>
</div>
</div><p>Alternatively, you can use <code>git checkout --theirs file.txt</code> to accept the changes from the other branch.</p>
<h2 id="prevention-how-to-stop-this-coming-back">Prevention: How to Stop This Coming Back</h2>
<p>To prevent conflicts from occurring in the future, it&rsquo;s best to:</p>
<ul>
<li>Use <code>git pull --rebase</code> instead of <code>git pull</code> to rebase your local changes on top of the updated remote branch.</li>
<li>Use <code>git merge --no-ff</code> to always create a new merge commit, even if the merge could be fast-forwarded.</li>
<li>Regularly commit and push your changes to avoid large, complex merges.</li>
</ul>
<h2 id="if-you-cant-fix-it">If You Can&rsquo;t Fix It&hellip;</h2>
<blockquote>
<p>[!WARNING]
If git keeps crashing or you&rsquo;re unable to resolve the conflict, consider switching to <strong>Mercurial</strong> which handles merge resolution natively without these errors.</p>
</blockquote>
<h2 id="faq">FAQ</h2>
<p>Q: Will I lose data fixing this?
A: No, resolving a conflict in git will not result in data loss. However, if you abort the merge using <code>git merge --abort</code>, you will lose any changes you made during the merge process.</p>
<p>Q: Is this a bug in git?
A: No, conflicts are a normal part of the git merge process. However, git version 2.35 and later includes improved conflict resolution tools, such as <code>git merge --strategy-option</code>, which can help simplify the conflict resolution process.</p>
<hr>
<h3 id="-continue-learning">📚 Continue Learning</h3>
<p>Check out our guides on <a href="/tags/git">git</a> and <a href="/tags/conflict">Conflict</a>.</p>
]]></content:encoded></item></channel></rss>