创建仓库
git init
基本操作
git add
git commit
查看分支
本地分支 git branch 远端分支 git branch -r 所有分支 git branch -a
远端
查看远端地址 git remote -v 添加远端地址 git remote add origin ssh://
远端分支与本地分支关联
git branch –set-upstream-to=origin/
本地分支 git branch 远端分支 git branch -r 所有分支 git branch -a
查看远端地址 git remote -v 添加远端地址 git remote add origin ssh://
git branch –set-upstream-to=origin/