摘要: 1.第一种方法git gui菜单栏上repository-->visual all branch history或者直接使用命令gitk --all2.在git bash中,使用命令查看git log --graph --all【命令行查看不太适合相差太大的分支,分支的共同父节点和分支的当前节点隔开... 阅读全文
posted @ 2015-08-21 17:03 ChuckLu 阅读(24603) 评论(0) 推荐(0)
摘要: http://code.tutsplus.com/tutorials/rewriting-history-with-git-rebase--cms-231911. Rebasing for a Linear HistoryThe first use case we'll explore involv... 阅读全文
posted @ 2015-08-21 14:35 ChuckLu 阅读(394) 评论(0) 推荐(0)
摘要: 在develop分支上rebase另外一个分支master,是将master作为本地,develop作为远端来处理的。 最后的效果是,develop分支看起来像是在master分支的最新的节点之后才进行开发的 develop分支上的commit记录 Administrator@LuJunTao MI 阅读全文
posted @ 2015-08-21 13:55 ChuckLu 阅读(12641) 评论(0) 推荐(2)
摘要: How do I create a new git branch from an old commit?git checkout -b justin a9c146a09505837ec03bThis will create the new branch and check it out.git br... 阅读全文
posted @ 2015-08-21 10:26 ChuckLu 阅读(9928) 评论(0) 推荐(1)