且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

git检出所有文件

更新时间:2023-01-17 18:28:13

If you are at the root of your working directory, you can do git checkout -- . to check-out all files in the current HEAD and replace your local files.

You can also do git reset --hard to reset your working directory and replace all changes (including the index).