git clone
git branch -a 查看所有分支
git status 查看当前状态
git add . # 添加当前目录的所有文件到暂存区
git commit -m '描述' 提交
git push 上传远程仓库
git checkout -b [branch] 新建一个分支并切换到该分支
git checkout -b [branch] origin [branch] 本地新建一个分支并关联到远程分支
git merge [branch] 合并指定分支到当前分支
git branch -d 删除分支
git pull [remote] [branch] # 取回远程仓库的变化,并与本地分支合并
cat ~/.ssh/id_rsa.pub。ssh认证