News for hackers. Stuff that matters.
Re:Squash your commits by dahart on Saturday April 02, 2016 @10:24AM (#11411621)
Not true. From the git stash man page: "If you mistakenly drop or clear stashes, they cannot be recovered through the normal safety mechanisms."

Git stash is more dangerous than other git commands, and I've personally witnessed more people losing work with stash accidents than with commit accidents. There may be plumbing commands that can get you there like fsck but the fact of the matter is you are better off committing or branching, from a safety standpoint.

There are no comments on this comment yet.