reverse operation of git add
时间:2021-07-01 17:07:16
收藏:0
阅读:0
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
评论(0)