Untracked files lost after git stash, working on branch and stash pop -
please understand scenario:
1. created new branch day ago , pushed work there.
2. worked on sublime whole day, modified existing files, created new files.
3. didn't add or commit, stashed, switched branch, commited there , popped stash
whoa !! new files (untracked files) lost
is normal behaviour of stash or might data back.
any appreciated. :)
in step 3, '... switched branch, committed there , popped stash'. thing can think of is, when switched other branch, committed new files there, switched previous branch (where in step 2), popped stash, , saw new files gone. in case, new files have been committed in new branch switched in step 3, you'll find them there.
Comments
Post a Comment