News for hackers. Stuff that matters.
Re:Gitless: a version control system by dahart on Monday October 03, 2016 @01:27PM (#12629425)
This is a great post! I have only one minor point:

> In the stash case, `git reflog` would immediately allow you to recover the lost stash.

Stashes don't go in the reflog, you cannot recover them with git reflog, so you're automatically in the 'deep shit' category if you lose them. Hence the statement that stashes are dangerous.

You do still have the safety net of fsck, and knowing that it's possible matters, as you point out. But, my experience with people who mess up stashes has been that fsck is so intimidating they'd rather re-create their changes. Silly, but true.

Re:Gitless: a version control system by mikegerwitz on Monday October 03, 2016 @01:38PM (#12629541)
> Stashes don't go in the reflog

You can see them with `git reflog --all`.

Re:Gitless: a version control system by dahart on Monday October 03, 2016 @01:41PM (#12629565)
Not after they're popped or dropped. Only while they're in the stash list.