Project

General

Profile

Git相关

  1. checkout出工作目录
    git reset --hard # 影响 HEAD、索引(add后的)和工作目录
    git checkout .   # 影响工作目录中的未提交更改