标签 git撤销提交 下的文章

git提交(commit)后从暂存区中撤销部分文件:git rm --cached <file> git commit -m '再次提交即可'通过以上操作即可从暂存区中撤销部分文件

阅读全部