News for hackers. Stuff that matters.
Re:Lesser known Git commands by eatbitseveryday on Friday September 30, 2016 @12:53PM (#12613611)
In regards to stash, yes, loss is problematic, but one can simulate it by saving the diff to a file:

  git diff > my-stash.diff
Then you can even commit these if you like, or copy them to a safer directory. Applying them is just an invocation of `patch`.
Re:Lesser known Git commands by mwpmaybe on Friday September 30, 2016 @02:32PM (#12614310)
Or even better than patch, git apply.