News for hackers. Stuff that matters.
Re:Is Git Irreplaceable? (2019) by gallier2 on Tuesday January 07, 2020 @12:58PM (#21982570)
NO. Nothing is gone after commit. You just don't see it.

Make a git log --reflog --all and you will see all the commits you made (or rebase made) in the last 3 months.

You can than rescucitate an old branch by simply putting a branch name on it with git branch newname <old sha1>

There are no comments on this comment yet.