yu199195 commented on a change in pull request #488: URL: https://github.com/apache/incubator-shenyu-website/pull/488#discussion_r830444919
########## File path: i18n/zh/docusaurus-plugin-content-docs-community/current/3-contributor.md ########## @@ -103,6 +123,23 @@ git push origin a-new-branch 最后,Committer 可以将 PR 合并入主分支。 +### 代码被合并后 + +在代码被合并后,你就可以在本地和远程仓库删除这个开发分支了: + +```shell +git branch -d a-dev-branch +git push origin --delete a-dev-branch +``` + +在主分支上,你可以执行以下操作来同步上游仓库: + +```shell +git remote add upstream https://github.com/apache/incubator-shenyu.git #绑定远程仓库,如果执行过就不需要再执行 +git checkout master #或main +git pull upsteam master +``` + ### 如何成为Committer? -重复前面的步骤,在社区中保持活跃,坚持下去,你就能成为 Committer! +通过上述步骤,你就是 Apache ShenYu 的贡献者了。重复前面的步骤,在社区中保持活跃,坚持下去,你就能成为 Committer! Review comment: add jump to commmiter.md -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
