<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How Do You Handle Uncommitted Changes? Git Stash]]></title><description><![CDATA[<p dir="auto">I am running into a frustrating situation while managing my project, and I don't know how you all handle this.</p>
<p dir="auto">So, I am working directly with my VPS server to update some files in a Git repository. I have made several important changes to the code, but I am not quite ready to commit them yet. Before finish, I suddenly have to switch branches to apply an urgent bug fix from a colleague.</p>
<p dir="auto">My main issue is :</p>
<ul>
<li>I can not commit to my unfinished work because it is not fully tested.</li>
<li>During switching branches, Git is not allowed to proceed due to uncommitted changes.</li>
<li>I didn’t want to manually copy my changes and risk losing anything in the process.</li>
</ul>
<p dir="auto">After some research, I found Git stash. It seemed like the <a href="https://www.dedicatedcore.com/blog/manage-git-stash/" target="_blank" rel="noopener noreferrer nofollow ugc">right solution</a>, but I was a bit hesitant. If I stashed my changes on the VPS, will they still be there after a system reboot? Would another user accessing the VPS mess up my stash?</p>
]]></description><link>https://forum.cloudron.io/topic/13207/how-do-you-handle-uncommitted-changes-git-stash</link><generator>RSS for Node</generator><lastBuildDate>Wed, 09 Sep 2026 03:03:46 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/13207.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Jan 2025 10:42:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How Do You Handle Uncommitted Changes? Git Stash on Fri, 31 Jan 2025 05:00:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brutalbirdie" aria-label="Profile: BrutalBirdie">@<bdi>BrutalBirdie</bdi></a></p>
<p dir="auto">Thank you for giving positive response</p>
]]></description><link>https://forum.cloudron.io/post/100974</link><guid isPermaLink="true">https://forum.cloudron.io/post/100974</guid><dc:creator><![CDATA[Rahul]]></dc:creator><pubDate>Fri, 31 Jan 2025 05:00:02 GMT</pubDate></item><item><title><![CDATA[Reply to How Do You Handle Uncommitted Changes? Git Stash on Thu, 30 Jan 2025 16:26:31 GMT]]></title><description><![CDATA[<p dir="auto">The bot probably only wants to present the link in the first post.</p>
]]></description><link>https://forum.cloudron.io/post/100946</link><guid isPermaLink="true">https://forum.cloudron.io/post/100946</guid><dc:creator><![CDATA[necrevistonnezr]]></dc:creator><pubDate>Thu, 30 Jan 2025 16:26:31 GMT</pubDate></item><item><title><![CDATA[Reply to How Do You Handle Uncommitted Changes? Git Stash on Thu, 30 Jan 2025 12:26:10 GMT]]></title><description><![CDATA[<p dir="auto">This sounds suspiciously like something written by AI . In fact, reading your last 3 posts, they are all very overly generic</p>
]]></description><link>https://forum.cloudron.io/post/100924</link><guid isPermaLink="true">https://forum.cloudron.io/post/100924</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Thu, 30 Jan 2025 12:26:10 GMT</pubDate></item><item><title><![CDATA[Reply to How Do You Handle Uncommitted Changes? Git Stash on Thu, 30 Jan 2025 11:24:57 GMT]]></title><description><![CDATA[<p dir="auto">I mean, if you are against stashing or not comfortable using it.<br />
You can always:</p>
<pre><code class="language-bash">git diff &gt; changes.patch
</code></pre>
<p dir="auto">then store the file somewhere and after all you done just</p>
<pre><code class="language-bash">git apply changes.patch
</code></pre>
<p dir="auto">But rather learn the tools you are given <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=a9807027800" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /> git stash works.</p>
<blockquote>
<p dir="auto">will they still be there after a system reboot</p>
</blockquote>
<p dir="auto">Yes git stashed are saved on the disk.</p>
]]></description><link>https://forum.cloudron.io/post/100918</link><guid isPermaLink="true">https://forum.cloudron.io/post/100918</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Thu, 30 Jan 2025 11:24:57 GMT</pubDate></item></channel></rss>