、、、
查看所有分支: git branch
切換分支: git checkout ‘分支名稱’
工作目錄和暫存區狀態: git status
克隆項目: git clone ‘項目鏈接’
、、、
提交到暫緩區: git add .
提交到本地倉庫: git commit -m ‘描述’
git add .
和 git commit -m ‘提交描述’
合併使用:
git commit -a -m ‘提交描述’ 或者 git commit -am ‘提交描述’
推代碼到線上倉庫:git push
、、、
取回遠程分支代碼與本地指定分支合併: git pull origin 指定分支
待更。。。