when someone abandons you,it is him that gets loss because he lost someone who truly loves him but you just lost one who doesn’t love you.
本来以为掌握了 reset 和 revert 的区别,就已经可以驰骋 git 一会儿,想不到,人算不如天算,还没乐呵多久就遇到了 untracked files,尝试了下面几个命令,都不能把它抹掉,可是这些文件就不是我产生的
1 | $ git reset --hard commit_id |
为了删除它们,又是一顿搜索,原来 git 中还有一个 clean
1 | $ git clean -f # 删除当前目录下 untraced 文件,不包括文件夹和 .gitignore 中指定的文件和文件夹 |
be slow to promise and quick to perform.