git 同步远程分支

 命令 git pull -p 可以同步远程的分支

自己要与origin master 建立连接 

       git remote add origin  https://yourname:yourpassword@XXX(XXX这个是你克隆的项目的路径 后缀是.git)

在phpstrom下面  Git:xxx    里面会有一个Remote Branches 的 灰色按钮,点击它 ,就出现了。

猜你喜欢

转载自www.cnblogs.com/wangshuazi/p/9485920.html