How to gow back to the last commit in the history after I used git reset to go to an older changeset

Posted by e-satis on Stack Overflow See other posts from Stack Overflow or by e-satis
Published on 2010-03-29T19:00:53Z Indexed on 2010/03/29 19:03 UTC
Read the original article Hit count: 418

Filed under:
|

Suppose my history goes that way :

A - B - C - D (master)

If I do git reset B, I'll got :

A - B (master)

Trouble is, git log now show me only the history from A to B, and I can't see C and D anymore.

How can I go back to D ?

© Stack Overflow or respective owner

Related posts about git

Related posts about git-reset