命令 检出分支 git checkout [commit_id] -b [branch_name] 推到远程仓库 git push origin HEAD: [remote_branch_name] 实例 git checkout d6bc485b2 -b branch_feature git push origin HEAD:branch_feature