在github上发布个人主页

官方文档在此:https://help.github.com/articles/creating-pages-with-the-automatic-generator/

1. 首先你得有个github账号。。

2.有了github账号之后,新建一个代码仓库。代码仓库的名字有要求,需要符合:username.github.io or orgname.github.io这种格式规范。例如,用户名为hello,创建的就应该为:hello.github.io

3. 创建完毕之后,点击右侧的setting。点“Automatic Page Generator”---“Continue To Layouts”,随便选择一个主题,然后点“publish”。这样子代码仓库就会自动填充相应的代码。

4. 稍等个几十分钟。虽然官网说10分钟,但我还是等了好久才行。。

接下来把它down到本地上开发。

5. 下载git客户端,我用的是windows,用账号登陆。。

6. 登陆后会自动显示自己拥有的代码仓库,选择一个clone到本地。

7. 用aptana或者其他IDE导入开发。主页是index.html,其他任意。更改后,在git客户端commit并sync。。跟svn不同,commite还要sync下才能push到远程端,而且还有点慢。。。

猜你喜欢

转载自blog.csdn.net/kaikai4/article/details/53379395