push:
1 git add .
2 git commit -m "reason for this commit"
3 git push 分支名
pull:
1 git init
2 git remote add 项目名 分支url
3 git pull 项目名 分支名
【Git】基本命令使用
原文:http://www.cnblogs.com/puyangsky/p/4973614.html