如果您想要对 xkcptun项目做贡献, 请参考如下步骤和规则:
-
fork本项目先:
-
Clone 您fork完的项目:
git clone git@github.com:your_github_username/xkcptun.git
-
clone后请创建一个branch分支:
git checkout -b "xkcptun-1-fix"
名称请任意定
-
在该分支下修改您要提交的代码(提交前请测试通过)
-
完成修改后不要忘记在 contributor中添加您的大名.
-
Commit and push 您的更改, 在github上创建一个pull request.
git commit --signoff
git push -f -
Awaiting review, if accepted, merged!
IMPORTANT
切记,不要忘记更新您fork的xkcptun项目
Please, don't forget to update your fork. While you made your changes, the content of the master
branch can change because other pull requests were merged and it can create conflicts. This is why you have to rebase on master
every time before pushing your changes and check that your branch doesn't have any conflicts with master
.