1. 打開terminal:
2.
git init
3.
git add README.md
4.
git commit -m "first commit"
5.
git remote add origin https://github.com/shrimp509/test.git
6.
git push -u origin master
參考:
1.Git教學(1): Git的基本使用:
http://blog.gogojimmy.net/2012/01/17/how-to-use-git-1-git-basic/