<ol dir="auto">
<li><code class="notranslate">git checkout branch-with-some-file</code></li>
<li>Open that file in Atom.</li>
<li><code class="notranslate">git checkout branch-without-that-file</code></li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.199.0<br>
<strong>System</strong>: linux 3.19.7-200.fc21.x86_64<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: ENOENT: no such file or directory, open '/home/jllopis/Documentos/devel/docker/odoo-grupoesoc/addons/partner-contact/partner_gender/models.py'</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At events.js:141

Error: ENOENT: no such file or directory, open '/home/jllopis/Documentos/devel/docker/odoo-grupoesoc/addons/partner-contact/partner_gender/models.py'
  at Error (native)
"><pre class="notranslate"><code class="notranslate">At events.js:141

Error: ENOENT: no such file or directory, open '/home/jllopis/Documentos/devel/docker/odoo-grupoesoc/addons/partner-contact/partner_gender/models.py'
  at Error (native)

</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;core&quot;: {
    &quot;autoHideMenuBar&quot;: true
  },
  &quot;editor&quot;: {
    &quot;softWrap&quot;: true,
    &quot;fontSize&quot;: 14,
    &quot;tabLength&quot;: 4,
    &quot;showIndentGuide&quot;: true,
    &quot;invisibles&quot;: {},
    &quot;preferredLineLength&quot;: 79
  }
}"><pre class="notranslate">{
  <span class="pl-ent">"core"</span>: {
    <span class="pl-ent">"autoHideMenuBar"</span>: <span class="pl-c1">true</span>
  },
  <span class="pl-ent">"editor"</span>: {
    <span class="pl-ent">"softWrap"</span>: <span class="pl-c1">true</span>,
    <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">14</span>,
    <span class="pl-ent">"tabLength"</span>: <span class="pl-c1">4</span>,
    <span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span>,
    <span class="pl-ent">"invisibles"</span>: {},
    <span class="pl-ent">"preferredLineLength"</span>: <span class="pl-c1">79</span>
  }
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
atom-terminal, v0.7.0
editorconfig, v1.0.0
language-docker, v1.1.3
language-restructuredtext, v0.5.0
linter, v0.12.2
linter-flake8, v1.4.0
linter-rst, v0.0.3
linter-xmllint, v0.0.5
minimap, v4.9.0
minimap-find-and-replace, v4.2.0
minimap-git-diff, v4.1.2
minimap-highlight-selected, v4.2.3
minimap-selection, v4.2.0
rst-preview-pandoc, v0.1.7
sync-settings, v0.2.2

# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
atom<span class="pl-k">-</span>terminal, v0.<span class="pl-ii">7</span>.<span class="pl-ii">0</span>
editorconfig, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span>
language<span class="pl-k">-</span>docker, v1.<span class="pl-ii">1</span>.<span class="pl-ii">3</span>
language<span class="pl-k">-</span>restructuredtext, v0.<span class="pl-ii">5</span>.<span class="pl-ii">0</span>
linter, v0.<span class="pl-ii">12</span>.<span class="pl-ii">2</span>
linter<span class="pl-k">-</span>flake8, v1.<span class="pl-ii">4</span>.<span class="pl-ii">0</span>
linter<span class="pl-k">-</span>rst, v0.<span class="pl-ii">0</span>.<span class="pl-ii">3</span>
linter<span class="pl-k">-</span>xmllint, v0.<span class="pl-ii">0</span>.<span class="pl-ii">5</span>
minimap, v4.<span class="pl-ii">9</span>.<span class="pl-ii">0</span>
minimap<span class="pl-k">-</span>find<span class="pl-k">-</span><span class="pl-k">and</span><span class="pl-k">-</span>replace, v4.<span class="pl-ii">2</span>.<span class="pl-ii">0</span>
minimap<span class="pl-k">-</span>git<span class="pl-k">-</span>diff, v4.<span class="pl-ii">1</span>.<span class="pl-ii">2</span>
minimap<span class="pl-k">-</span>highlight<span class="pl-k">-</span>selected, v4.<span class="pl-ii">2</span>.<span class="pl-ii">3</span>
minimap<span class="pl-k">-</span>selection, v4.<span class="pl-ii">2</span>.<span class="pl-ii">0</span>
rst<span class="pl-k">-</span>preview<span class="pl-k">-</span>pandoc, v0.<span class="pl-ii">1</span>.<span class="pl-ii">7</span>
sync<span class="pl-k">-</span>settings, v0.<span class="pl-ii">2</span>.<span class="pl-ii">2</span>

<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
<p dir="auto">Some repro steps that I gathered from the existing issues:</p>
<ol dir="auto">
<li>Have a file open in branch <code class="notranslate">something</code> that doesn't exist in branch <code class="notranslate">atom</code></li>
<li><code class="notranslate">git checkout atom</code></li>
<li>ENOENT <g-emoji class="g-emoji" alias="boom" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4a5.png">💥</g-emoji><br>
OR</li>
<li>Have a file open in Atom that will be affected by <code class="notranslate">git rebase</code></li>
<li><code class="notranslate">git rebase</code></li>
<li>ENOENT <g-emoji class="g-emoji" alias="-1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44e.png">👎</g-emoji><br>
OR<br>
Just simply rename a file outside of Atom that's currently open inside of Atom.</li>
</ol>