GitHub

GitHub 是一个共享虚拟主机服务(英语:Shared web hosting service),用于存放使用Git版本控制的软件代码和内容项目。

GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers.

个人主页

通过访问 http://[用户名].github.io/ 查看个人主页。

只需在GitHub上建立一个[用户名].github.com的项目,然后把项目的代码通过Git推送到项目中。 首次建立项目需要等待十分钟左右才能访问,以后更新内容都可立即刷新访问。

项目演示

通过访问 http://[用户名].github.io/[项目名]/ 查看项目演示

在gh-pages分支上创建你的项目,然后把项目的代码通过Git推送到项目中。首次建立项目需要等待十分钟左右才能访问,以后更新内容都可立即刷新访问。

常用命令

git clone [email protected]:[用户名]/[项目名].git 本地目录
git status
git add
git commit * -m '提交内容注释'
git pull
git push origin [分支名]

【帮助】
如何高效利用GitHub

你可能感兴趣的:(GitHub)