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 ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should be able to see D with
git reflog.See this article for instance.