You could just call `git stash` instead of `git reset --hard`. It'll have the same effect on your working directory, while also "backing up" the changes.
Stashes could be cleared using a cron job.
Stashes could be cleared using a cron job.
You can see a list of saved stashes and their indices with `git stash list`.
I've been using `git stash apply stash@{n}`, which works just fine, but the stash is then not removed from your list and results in clutter.
It does, but then, this is the git command-line interface. :)
My understanding is that the stash pop command is simply an apply plus the removal of the successfully applied stash. The man page reflects this. It does not pop everything above element in the list.