摘要:
Ubuntu 10.04 LTS 安装sun-java6-jdk ,出现错误。Reading package lists... DoneBuilding dependency treeReading state information... DonePackage sun-java6-jdk is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, oris only available from another s 阅读全文
摘要:
下面总结一下git reset的各个选项吧:1 git reset –soft 只撤销commit,保留working tree和index file。2 git reset –hard 撤销commit、index file和working tree,即撤销销毁最近一次的commit3 git reset –mixed 撤销commit和index file,保留working tree4 git reset和git reset –mixed完全一样5 git reset –用于删除登记在index file里的某个文件。 阅读全文