Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有区别吗?git reset --hard HEAD如果是这样和有什么区别git clean --force -d?
git reset --hard HEAD
git clean --force -d
git clean删除未跟踪的文件。git reset只影响跟踪的文件。
git clean
git reset