Git丢弃本地所有修改

Git214

 description

在日常开发中,有多个文件修改后想快速丢弃修改的所有内容,通过下面这条git的命令就可以实现丢弃本地的修改,快来学习学习吧。

 command

git checkout .

 parameter

git :  是一个免费和开源的分布式版本控制系统
checkout :  切换分支或恢复工作树文件
Was this helpful?

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.