Git工具说明
1、使用sourcetree的时候,origin上的分支已经删除,但是本地的不管是获取还是拉取,都不能同步并删除,怎么办呢?
在sourcetree中选择指定的项目,然后点击命令行模式,输入命令即可:git fetch -p
2、命令行拉取origin代码并切换分支
git fetch // 将远程分支信息获取到本地
git checkout -b local-branchname origin/remote_branchname // 将远程分支映射到本地命名为local-branchname 的一分支,命令行支持Tab补充功能
3、其他

浙公网安备 33010602011771号