代码拉取完成,页面将自动刷新
同步操作将从 Halo/halo 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
欢迎你参与 Halo 的开发,下面是参与代码贡献的指南,以供参考。
任何新功能或者功能改进建议都先提交 issue 讨论一下再进行开发,bug 修复可以直接提交 pull request。
点击右上角的 fork
按钮即可。
git clone https://github.com/{YOUR_USERNAME}/halo
git submodule init
git submodule update
git checkout -b {BRANCH_NAME}
git push origin {BRANCH_NAME}
回到自己的仓库页面,选择 New pull request
按钮,创建 Pull request
到原仓库的 master
分支。
然后等待我们 Review 即可,如有 Change Request
,再本地修改之后再次提交即可。
git remote add upstream git@github.com:halo-dev/halo.git
git pull upstream master
git push
请参考 https://docs.halo.run/developer-guide/core/code-style,请确保所有代码格式化之后再提交。
We can use the cherry pick script to cherry-pick commits in pull request as follows:
GITHUB_USER={your_github_user} hack/cherry_pick_pull.sh upstream/{target_branch} {pull_request_number}
This script is from https://github.com/kubernetes/kubernetes/blob/master/hack/cherry_pick_pull.sh.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。