News for hackers. Stuff that matters.
Re:Git v2.14.0 released by alexeiz on Monday August 07, 2017 @01:02PM (#14949061)
> Luckily, my local Time Machine backups have always saved my ass.

So you do backups for something that already functions like a backup system. That's fascinating. Did you know that Git does not lose anything? You might find 'git reflog' useful if you happen to screw up frequently.

Re:Git v2.14.0 released by pletnes on Monday August 07, 2017 @01:06PM (#14949096)
When git garbage collection runs, I do believe it collects dangling commits.

Doing a "git branch backup" before doing something stupid gives you a more convenient "undo".

Alternatively, just git clone to a new directory before attempting some insane rebase operation.