1.比如创建本地分支dev 2.git add . 3.git commit -m "this is my dev" 4.git push ~u origin dev 这样就在自己的分支上右创建了一个分支