Base on the structure of Furucombo, there are several guidelines that you should follow. Please make sure to review the document.
Any direct modification to develop branch is prohibited. Please work on your own fork and submit pull requests. The PRs will be reviewed and commented. CI test should pass and every comment should be resolved before the PR is merged back to develop.
- Make sure your fork is up-to-date.
cd legocontract
git remote add upstream git@garage.dinngo.co:hackathon-black/legocontract.git
git pull upstream develop
- Branch out from develop.
git checkout -b some-feature
- Do your work and Unit test, commit.
git add contracts/yourFile.sol tests/yourFile.test.js
git commit "some-feature"
-
Update changelog. Description should be written under proper tag in the unreleased section. You may refer to here.
-
Make sure everything is up-to-date before push.
git fetch upstream
git rebase upstream/develop
git push -f origin some-feature
- Issue a new PR.