News for hackers. Stuff that matters.
Re:GUM: A better CLI for Git by dasil003 on Monday January 30, 2012 @02:51PM (#3530356)
Not that the git UI doesn't leave a lot to be desired, but git has a nice security blanket:

git reflog

Now you can feel free rebase with abandon.

Re:GUM: A better CLI for Git by alexgartrell on Monday January 30, 2012 @02:55PM (#3530364)
git reflog is the SINGLE most undersold feature of get. It's a global, perpetual undo function (less garbage collection, which I understand to be discouraged).
Re:GUM: A better CLI for Git by barrybe on Monday January 30, 2012 @03:20PM (#3530480)
If you start depending on reflog just remember that changes in there are subject to garbage collection. Commits can be permanently deleted after they are 2 weeks old (by the default settings), so that's how long you can depend on them staying alive in the reflog.

Of course you can always give a branch name or tag to any commit to keep it alive too.

Re:GUM: A better CLI for Git by angelbob on Monday January 30, 2012 @11:34PM (#3531876)
Two weeks isn't bad for an undo feature.