10 2016 档案

摘要:1、git branch work(从最新节点建立分支,相当于将自己的修改备份到新的分支) 2、git reset --hard HEAD~10(强制回滚多个节点) 3、git status 如果显示nothing to commit, working directory clean,跳到5. 如果 阅读全文
posted @ 2016-10-08 21:10 lianghe 阅读(2234) 评论(0) 推荐(0)
摘要:http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000 阅读全文
posted @ 2016-10-08 21:08 lianghe 阅读(141) 评论(0) 推荐(0)
摘要:1. 这个不是git的规则,而是gerrit的规则, 2. Branches, remote-tracking branches, and tags等等都是对commite的引用(reference),引用都以 “refs/……”表示. 比如remote branch: origin/git_int 阅读全文
posted @ 2016-10-07 11:51 lianghe 阅读(1060) 评论(0) 推荐(0)