<?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[unable to git pull successfully]]></title><description><![CDATA[<p dir="auto">hi</p>
<p dir="auto">trying to update my googlephotos and am facing the error.</p>
<p dir="auto">error: Your local changes to the following files would be overwritten by merge:<br />
package-lock.json<br />
Please commit your changes or stash them before you merge.<br />
error: The following untracked working tree files would be overwritten by merge:<br />
.vscode/settings.json<br />
types/google-photos.d.ts<br />
types/type.d.ts<br />
Please move or remove them before you merge.</p>
<p dir="auto">so i managed to git checkout package-lock.json.</p>
<p dir="auto">but when i tried to git checkout .vscode/settings.json, i got the error error: pathspec ‘.vscode/settings.json’ did not match any file(s) known to git. same goes for the types/google-photos.d.ts and types/type.d.ts</p>
<p dir="auto">what should i do next?</p>
]]></description><link>https://forum.magicmirror.builders/topic/18584/unable-to-git-pull-successfully</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 22:34:14 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/18584.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Mar 2024 14:18:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to unable to git pull successfully on Tue, 19 Mar 2024 08:27:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/1a2a3a" aria-label="Profile: 1a2a3a">@<bdi>1a2a3a</bdi></a> If you want to reset the module without saving your local changes, you can do this in the module’s directory:</p>
<pre><code class="language-bash">git fetch origin master
git reset --hard origin/master
git pull
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/116414</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116414</guid><dc:creator><![CDATA[KristjanESPERANTO]]></dc:creator><pubDate>Tue, 19 Mar 2024 08:27:08 GMT</pubDate></item><item><title><![CDATA[Reply to unable to git pull successfully on Tue, 19 Mar 2024 16:11:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> With <code>git reset ...</code> everything is reset hard, this fixes the problem, but does not help to explain it.  I haven’t fully understood myself why <code>git pull</code> didn’t  worked after <code>git stash</code>.</p>
]]></description><link>https://forum.magicmirror.builders/post/116443</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116443</guid><dc:creator><![CDATA[KristjanESPERANTO]]></dc:creator><pubDate>Tue, 19 Mar 2024 16:11:13 GMT</pubDate></item><item><title><![CDATA[Reply to unable to git pull successfully on Tue, 19 Mar 2024 14:56:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kristjanesperanto" aria-label="Profile: KristjanESPERANTO">@<bdi>KristjanESPERANTO</bdi></a> but why does this fix the problem of untracked files blocking pull? if they are untracked, they are not in the repo… I have never seen this happen</p>
]]></description><link>https://forum.magicmirror.builders/post/116435</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116435</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 19 Mar 2024 14:56:14 GMT</pubDate></item><item><title><![CDATA[Reply to unable to git pull successfully on Tue, 19 Mar 2024 09:49:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kristjanesperanto" aria-label="Profile: KristjanESPERANTO">@<bdi>KristjanESPERANTO</bdi></a> thanks, that fixed it now!</p>
]]></description><link>https://forum.magicmirror.builders/post/116416</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116416</guid><dc:creator><![CDATA[1a2a3a]]></dc:creator><pubDate>Tue, 19 Mar 2024 09:49:00 GMT</pubDate></item><item><title><![CDATA[Reply to unable to git pull successfully on Tue, 19 Mar 2024 08:27:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/1a2a3a" aria-label="Profile: 1a2a3a">@<bdi>1a2a3a</bdi></a> If you want to reset the module without saving your local changes, you can do this in the module’s directory:</p>
<pre><code class="language-bash">git fetch origin master
git reset --hard origin/master
git pull
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/116414</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116414</guid><dc:creator><![CDATA[KristjanESPERANTO]]></dc:creator><pubDate>Tue, 19 Mar 2024 08:27:08 GMT</pubDate></item><item><title><![CDATA[Reply to unable to git pull successfully on Tue, 19 Mar 2024 05:05:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> did as per your mentioned but still stuck with .vscode/setting.json</p>
<p dir="auto"><img src="/assets/uploads/files/1710824725706-2f495b66-7df8-44b5-b210-8306a19e785e-image.png" alt="2f495b66-7df8-44b5-b210-8306a19e785e-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/116413</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116413</guid><dc:creator><![CDATA[1a2a3a]]></dc:creator><pubDate>Tue, 19 Mar 2024 05:05:28 GMT</pubDate></item><item><title><![CDATA[Reply to unable to git pull successfully on Mon, 18 Mar 2024 15:17:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/1a2a3a" aria-label="Profile: 1a2a3a">@<bdi>1a2a3a</bdi></a> said in <a href="/post/116389">unable to git pull successfully</a>:</p>
<blockquote>
<p dir="auto">error: Your local changes to the following files would be overwritten by merge:<br />
package-lock.json</p>
</blockquote>
<p dir="auto">this file is regenerated by npm install, so just erase it</p>
<p dir="auto">rm package-lock.json</p>
<p dir="auto">but… these make no sense</p>
<pre><code class="language-text">error: The following untracked working tree files would be overwritten by merge:
.vscode/settings.json
types/google-photos.d.ts
types/type.d.ts
Please move or remove them before you merge.
</code></pre>
<p dir="auto">as they are untracked, git doesn’t do anything with them…</p>
<p dir="auto">but I see  search results for that problem…</p>
<p dir="auto">looks like you were developing in the module folder… so<br />
you SHOULD be able to stash those files (hide them)<br />
one suggestion (afer erasing the package-lock.json)</p>
<pre><code class="language-sh">git add * 
git stash
git pull
</code></pre>
<p dir="auto">after the pull,</p>
<pre><code class="language-sh">git stash pop
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/116390</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116390</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 18 Mar 2024 15:17:09 GMT</pubDate></item></channel></rss>