克隆当前版本: git clone <PATH | URL | SSH_PATH>
克隆指定branch: git clone <PATH> -b <Branch_name>
checkout远程指定版本: git checkout -b <local_branch_name> <remote_branch_name>如果本地branch已经创建,可以不加-b
删除branch: 1. 切换到非此branch, 2. git branch -d <branch_name>
创建git库: git init
添加修改: git add .
提交修改: git commit . -d -m "update comments"
从其他分支pull : git pull <PATH>
push到其他分支: git push <PATH>
查看分支: git branch -a 或 git branch -r
查看更新日志: git log
查看指定修改内容: git show <ID>
帮助: man git-<sub command>