git reset -- git restore --staged 区别相同点:"You can remove the file from the index while keeping your changes with git reset." --From man git-reset"git reset can also be used to 'restore the index, overlapping with' git restore." --From man git联系:老版本git...【阅读全文】