<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Versioning on Ponfertato</title><link>https://ponfertato.potatoenergy.ru/en/tags/versioning/</link><description>Recent content in Versioning on Ponfertato</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2019-2026 Ponfertato</copyright><atom:link href="https://ponfertato.potatoenergy.ru/en/tags/versioning/index.xml" rel="self" type="application/rss+xml"/><item><title>Config Versioning: Git + Symbolic Links</title><link>https://ponfertato.potatoenergy.ru/en/projects/config-symlinks/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ponfertato.potatoenergy.ru/en/projects/config-symlinks/</guid><description>&lt;p&gt;App configurations are scattered across the system:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;~/.config/&lt;/code&gt;, &lt;code&gt;AppData\Roaming\&lt;/code&gt;, &lt;code&gt;Documents\&lt;/code&gt;, &lt;code&gt;~/.minecraft/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Lost on OS reinstall or device change&lt;/li&gt;
&lt;li&gt;Manual copying is slow, error-prone, unversioned&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 class="relative group"&gt;The Solution
 &lt;div id="the-solution" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#the-solution" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;Store configurations in a Git repository and connect them to target paths via &lt;strong&gt;symbolic links&lt;/strong&gt;.&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;~/.config/nixcfg/ (Git repo)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; ↓ (symlink)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;~/.config/nix/ (actual location)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;~/Git/PowerShell-Stuff/ (Git repo)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; ↓ (mklink /D)
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;C:\Users\&amp;lt;user&amp;gt;\Documents\PowerShell\ (actual location)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Benefits&lt;/strong&gt;:&lt;/p&gt;</description></item></channel></rss>