you have a very simple git command git checkout .
↧
Answer by khem raj regmi for How do I discard unstaged changes in Git?
↧
you have a very simple git command git checkout .