I recently split my repository (while in bigproj ) using git filter-branch --subdirectory-filter deep/in/my/project . Then I moved the .git directory to deep/in/my/project .
Now, stash is in a weird state where the top cache looks something like this:
stash@ {0}: filter-branch: rewrite
I can not drop this cache because I get this error (after git stash drop ):
refs/ stash@ {0}: not a valid stashed state
Now, even if I know refid stash @ {1}, it still contains diff for the files in the bigproj hierarchy. Is it possible to overwrite bookmark data so that it only contains files that belong to the deep/in/my/project hierarchy?
source share