Computer Science, asked by ahmmedmuhammed1937, 1 year ago

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 farahanafarahana8593
0

you can search on youtube

or goggle

Answered by Arslankincsem
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