命令:git checkout -b new_branch_name history_commit_id
例如:git checkout -b prod-20171128 c7215d179f585836ebfc0d6ba7eb5d8244f8ef74
或者直接在gitlab里面操作也可以,步骤如下图:
命令:git checkout -b new_branch_name history_commit_id
例如:git checkout -b prod-20171128 c7215d179f585836ebfc0d6ba7eb5d8244f8ef74
或者直接在gitlab里面操作也可以,步骤如下图:
转载于:https://my.oschina.net/dslcode/blog/1607304