git branch tay ? #創(chuàng)建tay分支
git branch ? #查看所有分支
git show-branch ? #查看詳細(xì)的分支信息,以及自己對(duì)每個(gè)分支的貢獻(xiàn)
git checkout tay ? #切換到tay分支
git branch -d tay ? #刪除tay分支
git merge -m"..." tay ? #將tay分支合并到當(dāng)前分支
git remote -v ? ?#查看當(dāng)前倉庫的git地址
git log ? #查看日志
-------------------------------------------------------------------------------
git init ? #初始化
git diff ? #查看所有自己已經(jīng)做的更改,但是還沒有加入到索引中的項(xiàng)
git status ? #查看當(dāng)前git倉庫狀態(tài)
git add * ? #添加變更
git rm * ? #刪除變更
git commit -m"..." ? #提交
git push ? #推送