学习地址
http://www.liaoxuefeng.com
http://www.cnblogs.com/renkangke/archive/2013/05/31/conquerAndroid.html
http://stackoverflow.com/questions/1221840/remote-origin-already-exists-on-git-push-to-new-repository
1 添加远程仓库
$ git remote add origin git@github.com:helloking/repo.git
把所有本地内容都push到远程库上
$ git push -u origin master
2 从远程库clone
$ git clone git@github.com:helloking/repo.git