整体代码流程
git clone
e git_url
git branch
git branch branch_name
git checkout branch_name
......(进行代码的修改)
git status
git diff
git add . (一个小数点是表示添加所有的修改代码)
git commit -m "description"(提交到本地库)
git status
git checkout master
git pull origin master
git merge branch_name(把自己分支上改动的代码合并到主分支上)
git push origin master(提交到远程库)
git log(查看历史提交记录)