Generate branch from git historical version

从git历史版本生成分支

lwk@qwfys ~/Public/project/com/gitlab/xxx $ git log 
commit 4e06d667ed4a135092a707ce718cd6b2b46d868e
Author: MJ 
Date:   Thu May 17 15:14:57 2018 +0800

    订单导入,常规提交

commit b57de8bf979aa2e7e4ec35135c1774a2127265f7
Author: MJ 
Date:   Wed May 16 18:42:39 2018 +0800

    订单导入

commit e9b8074ac43bd9edd143e0f07ca29fc0a1bf0f98
Author: lwk 
Date:   Wed May 16 18:26:50 2018 +0800

    update pom.xml

commit 8c373ca81e7283859ed8dd4eab9ddf82b61e833b
Author: lwk 
Date:   Wed May 16 18:14:08 2018 +0800

    update

commit 29eaa9963509ce94cda841c5398788b69a630f1d
Author: lwk 
Date:   Wed May 16 17:48:46 2018 +0800

    更新 pom.xml

commit 165ed7b99102878a4d4189c905232b7d80345b79
Author: lwk 
Date:   Wed May 16 17:46:32 2018 +0800

    更新pom.xml中的maven私服配置

commit ad2e2495578fd201b2b9b78ace198e08af467661
Author: lwk 
Date:   Wed May 16 17:27:38 2018 +0800

    添加 CHANGELOG

commit 7560eae11fe7f96179056f3669ff67134effffc4
Author: lwk 
Date:   Wed May 16 17:27:20 2018 +0800

    增加新文件

commit 66e15aa25bb4bd7d8591e6df94288e55ee625711
Author: lwk 
Date:   Wed May 16 17:16:01 2018 +0800

    更新 pom.xml

commit 03490fd690fe8daff003c22b7d90bdc722672d20
Author: lwk 
Date:   Wed May 16 17:10:23 2018 +0800

    项目调整

commit e61ce39a20c10aec284ae3ecf42677d69a3a4ae9
Author: MJ 
Date:   Tue May 15 17:19:06 2018 +0800

    基础数据类

lwk@qwfys ~/Public/project/com/gitlab/xxx $ git checkout -b feature/order-import e61ce39a20c10aec284ae3ecf42677d69a3a4ae9
Switched to a new branch 'feature/order-import'
lwk@qwfys ~/Public/project/com/gitlab/xxx $ git status
On branch feature/order-import
nothing to commit, working directory clean
lwk@qwfys ~/Public/project/com/gitlab/xxx $ git push origin feature/order-import
Total 0 (delta 0), reused 0 (delta 0)
remote: 
remote: To create a merge request for feature/order-import, visit:
remote:   http://gitlab.eptison.com/itdev/xxx/merge_requests/new?merge_request%5Bsource_branch%5D=feature%2Forder-import
remote: 
To [email protected]:itdev/xxx.git
 * [new branch]      feature/order-import -> feature/order-import
lwk@qwfys ~/Public/project/com/gitlab/xxx $ 

你可能感兴趣的:(Version,git,branch,historical,version)