git log 显示日志
git reset --hard 1094a 回退到指定版本
git remote add tomcat https://github.com/apache/tomcat.git 添加远程仓库
git pull tomcat 从指定远程仓库更新
git branch -a 查看所有分支
git branch dev //创建分支
git checkout dev //切换分支
git push origin dev //将本地分支上传到远程分支 dev表示本地分支
git branch --set-upstream branch-name origin/branch-name// 创建本地分支与远程分支对应关系