文档:https://git-scm.com/docs
列出所有远程空间:
git remote -v
重命名远程空间:
git remote rename <old> <new>
删除远程空间:
git remote remove <name>
列出所有分支(本地+远程):
git branch -a
查看本地与远程分支对应关系:
git branch -vv
关联本地与远程分支:
git branch -u <远程空间/远程分支> [<本地分支>]