git的reset和checkout的区别 在讲git的reset和checkout的区别之前,不得不说说HEAD、Index、Working Directory三个区域。HEAD、Index、Working DirectoryGit里有三个区域很重要HEAD 指向最近一次commi