git本地远程分支同步
远程先开好分支然后拉到本地
git checkout -b feature-branch origin/feature-branch //检出远程的dev分支到本地
本地先开好分支然后推送到远程
$ git checkout -b dev //创建并切换到分支dev
$ git push origin dev:dev //推送本地的dev(冒号前面的)分支到远程origin的dev(冒号后面的)分支(没有会自动创建)
Ideal are like the stars --- we never reach them ,but like mariners , we chart our course by them