git checkout -b dev origin/dev,作用是checkout远程的dev分支,在本地起名为dev分支,并切换到本地的dev分支 转载于:https://www.cnblogs.com/blueridge/p/10823316.html