1.创建分支 git checkout -b dev # 创建分支,如果分支分支存在,是切换,如果不存在就是创建新的 2. git push -u 3. git push --set-upstream origin dev