To discard changes in working directory usegit checkout -- <file>
-- means changes in current branchreferences:-
↧
Answer by Mohamed Eldefrawy for How do I discard unstaged changes in Git?
↧
To discard changes in working directory usegit checkout -- <file>
-- means changes in current branchreferences:-