在暂存文件(跟踪文件)后,我意识到它需要一些更改,因此我使用 git rm --cached <filename>. 结果,我失去了所有的变化。有没有办法撤销它?
git rm --cached <filename>
git
git ×1