me
me copied to clipboard
学习 git
discard
version control - How do I discard unstaged changes in Git? - Stack Overflow
2个方式,推荐restore:
-
git restore .
-
git checkout -- .
orgit checkout .