3 ms·
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 conveni
by pletnes 9y ago
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.