摘要:
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 update-ref -d HEAD https://stackoverflow.com/questions/6632191/how-to-revert-initial-git-commit 阅读全文