This action will force synchronization from 百度开源/baetyl, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
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.
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 --amendinstead of
govendor fmt +localbefore push changes, more details refer to govendor
make testbefore push changes(unit test should be contained), and make sure all unit test and data race test passed
Note: The document's contribution rules are the same as the rules above.