2. 将文件从暂存区移除

git reset HEAD -- path/to/file

Last updated