git 选中远程分支

git checkout -b dev origin/dev,作用是checkout远程的dev分支,在本地起名为dev分支,并切换到本地的dev分支

原文地址:https://www.cnblogs.com/blueridge/p/10823316.html