摘要: ##git学习(3)###撤销编辑如果我们在编辑版本a的时候,如果在没有add之前,发现需要重新编辑版本a怎么办呢,可以通过`git reset --hard comm_id`, `commit_id`是版本a的提交号码,也可以通过`git checkout --file`命令来撤销工作区的修改,这... 阅读全文
posted @ 2015-01-16 03:38 KeithMorning 阅读(445) 评论(0) 推荐(0) 编辑
摘要: ###查看修改历史记录```$ git logcommit fba77877d316436c1b774b8933380ebcac668040Author: keith Date: Fri Jan 16 01:34:06 2015 +0800 add a git instancecommit... 阅读全文
posted @ 2015-01-16 03:34 KeithMorning 阅读(445) 评论(0) 推荐(0) 编辑
摘要: ##JavaScript学习6-文档对象模型基础#### 1.节点方法节点对象方法(W3C DOM Level2) | 方法 | 说明 ||:----:|:----:||appendChild(newChild)|添加子节点到当前节点的末端||cloneNode(deep)|获取当前节点的拷贝||... 阅读全文
posted @ 2015-01-16 01:24 KeithMorning 阅读(327) 评论(0) 推荐(0) 编辑