标签:use disk ever set his opera git reset comm hash
before commit, do:
git rm --cached <filename>
ATTENTION:
do not use ‘git rm <filename>‘, this will delete the file from disk
if commited, first use: "git reset --mixed <hashcode>" to reverse the commit
标签:use disk ever set his opera git reset comm hash
原文地址:https://www.cnblogs.com/mrlonely2018/p/14958011.html