git 检出某个指定的commit作为一个分支
2017-11-30 本文已影响0人
旋转马达
git checkout -b feature/branch_name commit_id
以上代码可以以当前分支的commit_id指向的commit作为HEAD,新建并切换到一个分支
git checkout -b feature/branch_name commit_id
以上代码可以以当前分支的commit_id指向的commit作为HEAD,新建并切换到一个分支