[ci skip]fix Contributing.md

This commit is contained in:
ShintoKosei
2024-02-18 14:58:58 +08:00
committed by GitHub
parent d0d9402571
commit 0715533d18
2 changed files with 6 additions and 6 deletions

View File

@@ -38,9 +38,9 @@ If you have forked the main repository, then you should follow the steps below:
1. Clone your repository to local
2. Run Gradle's `applyPatches` task in your IDE or terminal (You can run `./gradlew applyPatches` directly in terminal.)
3. Enter `luminol-api` or `luminol-server` directory to carry out modifications.
3. Enter `luminol-api` directory to carry out modifications.
BTW, `luminol-api` and `luminol-server` are not normal git repositories.
BTW, `luminol-api` and are not normal git repositories.
- Before applying patches, the base will point to unmodified source code.
- Every commit after the base is a patch.
@@ -50,7 +50,7 @@ BTW, `luminol-api` and `luminol-server` are not normal git repositories.
It's very easy to to add patches by following the steps below:
1. Modify the code of `luminol-api` and / or `luminol-server`
1. Modify the code of `luminol-api`
2. Add these changes to the local git repository (For example, `git add .`)
3. Commit these changes using `git commit -m <Commit Message>`
4. Run Gradle's task `rebuildPatches` to convert your commits to a new patch

View File

@@ -35,9 +35,9 @@ Luminol 使用和 Folia 一样的补丁系统,并为了针对不同部分的
1. 将你的仓库 clone 到本地;
2. 在你的 IDE 或 终端 内执行 Gradle 的 `applyPatches` 任务,如果是在终端内,你可以执行 `./gradlew applyPatches`
3. 进入 `luminol-api``luminol-server` 文件夹进行修改。
3. 进入 `luminol-api` 文件夹进行修改。
顺便一提,`luminol-api``luminol-server` 并不是正常的 git 仓库:
顺便一提,`luminol-api` 并不是正常的 git 仓库:
- 在应用补丁前,基点将会指向未被更改的源码
- 在基点后的每一个提交都是一个补丁
@@ -47,7 +47,7 @@ Luminol 使用和 Folia 一样的补丁系统,并为了针对不同部分的
按照以下步骤增加一个补丁是非常简单的:
1.`luminol-api` 或者 / 和 `luminol-server` 进行修改;
1.`luminol-api` 进行修改;
2. 使用 git 添加你的修改,比如 `git add .`
3. 使用 `git commit -m <提交信息>` 进行提交;
4. 运行 Gradle 任务 `rebuildPatches` 将你的提交转化为一个补丁;