On 11/05/2016 11:48 AM, Marc Schütz wrote:
On Saturday, 5 November 2016 at 01:21:48 UTC, Stefan Koch wrote:

I recently lost 3 days of work because of my git-skills.

Unless you haven't committed your work yet, almost everything in Git can
be undone. Make a copy of your entire project directory (including .git)
and then have a look at `git reflog` around the time the disaster
happened. It will show you commit IDs that you can check out.

Yea, but unless you're a git-fu master, sometimes figuring out how to fix whatever got messed up can lose you 3 days of work ;)

I really want to make a saner CLI front-end for git, but that would require learning more about git than I really ever want to know :(

Reply via email to