1.拉取代码至本地
git clone …

2.提交代码
git add [file1] [file2] …
git commit …
git branch # 查看分支
git push orign [分支]
注:除了第一次提交外,只提交修改的文件,不要提交整个文件夹
3.更新本地代码
git remote add upstream …
git pull upstream [分支]
(以CommonService工程为例)
4.删除新增文件
git clean -xfd .
5.撤销修改
git checkout .
