pull
代码语言:javascript复制git branch -r | grep -v '->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all
push
代码语言:javascript复制//指定remote origin
git remote add origin ssh://git@192.168.235.11:2222/zhangxu/abc.git
git push -u origin --all
git push -u origin --tags