Shyamala Pai
Shyamala Pai

Reputation: 11

I have lost one complete directory from my local branch while merging in master. How to get back those lost files?

I was trying to update my local branch with master branch updates and lost my local folder in the process.

Upvotes: 1

Views: 31

Answers (1)

Cody Caughlan
Cody Caughlan

Reputation: 32758

Use the git reflog command to find all changes to the repository even across different branches and branch transitions. Poke around in the reflog and you should be able to find what you're looking for.

Upvotes: 1

Related Questions