同步操作将从 百度开源/baetyl 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Welcome to Baetyl Open Source Project. To contribute to Baetyl, please follow the process below.
We sincerely appreciate your contribution. This document explains our workflow and work style.
Baetyl use this Git branching model. The following steps guide usual contributions.
Fork
Our development community has been growing fast, so we encourage developers to submit code. And please file Pull Requests from your fork. To make a fork, please refer to Github page and click on the "Fork" button.
Prepare for the development environment
go get github.com/baetyl/baetyl # clone baetyl official repository
cd $GOPATH/src/github.com/baetyl/baetyl # step into baetyl
git checkout master # verify master branch
git remote add fork https://github.com/<your_github_account>/baetyl # specify remote repository
Push changes to your forked repository
git status # view current code change status
git add . # add all local changes
git commit -c "modify description" # commit changes with comment
git push fork # push code changes to remote repository which specifies your forked repository
Create pull request
You can push and file a pull request to Baetyl official repository https://github.com/baetyl/baetyl. To create a pull request, please follow these steps. Once the Baetyl repository reviewer approves and merges your pull request, you will see the code which contributed by you in the Baetyl official repository.
git commit --amend
instead of git commit
.make test
before push changes (unit test should be contained), and make sure all unit test and data race test passedNote: The document's contribution rules are the same as the rules above.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。