文檔: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 <遠端空間/遠端分支> [<本地分支>]
複制