Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to retrieve untracked files with git stash
    text
    copied!<p>So I stashed some untracked files using</p> <pre><code>git stash --include-untracked </code></pre> <p>and then switched to another branch.</p> <p>If I look at what changes are stashed:</p> <pre><code>backend/infinispan-rar/pom.xml | 12 ++++++++++-- backend/pom.xml | 13 +++++++++++-- backend/test/pom.xml | 3 +-- .../main/resources/com/mojiva/testDbContext.xml | 6 +++--- data/mojiva.xml | 2 +- dbmigration/pom.xml | 16 ++++++++++------ .../main/resources/db/changelogs/issue-17544.xml | 4 ++-- pom.xml | 11 +++++++++++ </code></pre> <p>I then tried to retrieve those file using</p> <pre><code>git stash pop </code></pre> <p>and get this:</p> <pre><code>backend/activator/effective.pom already exists, no checkout backend/adverter/src/test/java/com/mojiva/presenter/RequestParamReplacerTest.java already exists, no checkout backend/dao/.cpath already exists, no checkout backend/dao/.e0 already exists, no checkout backend/dao/PutObjectStoreDirHere/defaultStore/Recovery/TransactionStatusManager/#22#/0_ffffc0a86465_cfd2_5016b5cb_1 already exists, no checkout backend/dao/dep.tree already exists, no checkout backend/feeds-test/.e0 already exists, no checkout backend/feeds-test/dep.tree already exists, no checkout data/wurfl-patch.xml already exists, no checkout run/linksDB.log already exists, no checkout run/linksDB.properties already exists, no checkout run/linksDB.script already exists, no checkout Could not restore untracked files from stash </code></pre> <p>Notice that none of the files are the same?</p> <p>What is going on here?</p> <p>Thanks!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload