I had used the command git checkout -- $(git ls-files -m)
to undo a git rm
on some files. However, I had modified some other files without committing them, and these files have been reverted to their previous commit, losing the uncommitted changes.
Is there a way to get these changes back?
I imagine not with git as the changes weren't added to git. On a Mac if that helps.
Thanks Tom