摘要: 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: " 阅读全文
posted @ 2021-07-01 11:22 略略略—— 阅读(442) 评论(0) 推荐(0) 编辑
摘要: git update-ref -d HEAD https://stackoverflow.com/questions/6632191/how-to-revert-initial-git-commit 阅读全文
posted @ 2021-07-01 11:20 略略略—— 阅读(240) 评论(0) 推荐(0) 编辑