I have made a commit and discarded it. I can still retrieve that commit using git reflog
VedaantArya:
True dat. What's the question here?
Answers
Answered by
0
you can search on youtube
or goggle
Answered by
1
Answer:
Explanation:
When you are performing any task in the Git, your actions, every commits, are stored in their database. Even if you accidentally delete or discard a commit, it is possible for you to retrieve that commit using reflog option in Git. You can restore lost commits using the reflog This reflog updates all the branches as the changes are made.
Similar questions
Math,
6 months ago
Math,
6 months ago
Math,
1 year ago
English,
1 year ago
Social Sciences,
1 year ago