拉取代码

git pull

检出仓库

git clone git://github.com/someone/some_project.git some_project

删除本地所有未提交的更改

git checkout .

删除本地未跟踪的文件

git clean -df