命令:
git checkout -b <branch> --track <remote>/<branch>
举例:
repo forall -c "git checkout -b dev --track remotes/origin/dev"
posted on 2023-09-13 17:38 luke4212 阅读(116) 评论(0) 编辑 收藏 举报