Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

But it's at best much harder to find stuff in the reflog than to simply use git's history browsing tools. "What's the state of my never-rebased branch at time X" is a trivial question to answer. Undoing a rebase, at best, involves some hard resets or juggling commit hashes.

None of it is impossible, but IMHO it's a lot of excitement of the wrong kind for essentially no reward.





> "What's the state of my never-rebased branch at time X" is a trivial question to answer.

Yes, but only because of reflog.


git log will also do the job, even if you never checked out the branch in this workspace.

It won't. In some simplest cases it may correlate, but not necessarily.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: