Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 2.21 KB

fork&pullrequests.md

File metadata and controls

72 lines (39 loc) · 2.21 KB

克隆与请求合并

注册 GitHub 账号

https://github.com/join

Fork 此项目

https://github.com/nimojs/learn-js

fork

安装 GitHub 客户端

下载 GitHub Windows 离线安装包

解压缩后打开 GitHub.exe

Clone 代码到本地

编写代码

在你所挑战的组件目录下的 code 文件夹创建你的 GitHub 用户名文件夹和对应挑战的阶段。如:

└── package/
    └── tab
		└── code
        	└── 2319103827 // 你的 GitHub 用户名
	        	└── 1 	   // 第一阶段代码
		        	└── index.html

提交代码

在 GitHub 中双击项目

填写提交说明

点击 COMMIT 按钮

同步代码

请求合并代码至 nimojs/learn-js

打开 https://github.com/你的用户名/learn-js/

点击 Pull Requset

image

点击 Create pull request

image

nimojs/learn-js 维护者收到 PR 后会合并你的请求。

最终你的代码会显示在 https://github.com/nimojs/learn-js/blob/gh-pages/package/tab/code/2319103827/1/index.html