use github to save your code

首先在网页上新建项目:new Repository

然后在本地:

1
2
3
4
5
git clone https://github.com/lukezhg/space-craft.git
cd space-craft
git add .
git commit -m "save space craft"
git push -u origin master #需要输入用户名和密码