Follow these steps to contribute to the project.
::steps{level="4"}
If you've previously forked the repository, sync with the upstream changes:
git checkout dev # switch to dev branch
git fetch upstream # fetch latest changes from upstream
git pull upstream dev # merge changes into your local dev branch
git push origin dev # push changes to your forkCreate a new branch for your feature or fix:
git checkout -b feat/descriptive-nameImplement your feature, fix, or improvement in the appropriate files.
- For example, you might add a function in
src/memos/hello_world.pyand create corresponding tests intests/test_hello_world.py.
Run the test suite to ensure your changes work correctly:
make testFollow the project's commit guidelines (see Commit Guidelines) when committing your changes.
Push your feature branch to your forked repository:
git push origin feat/descriptive-nameSubmit your changes for review:
- Important: Please create your pull request against
- ✅ the
devbranch of the upstream repository, - ❎ not the
mainbranch of the upstream repository.
- ✅ the
- Go to the original repository on GitHub
- Click on "Pull Requests"
- Click on "New Pull Request"
- Select
devas the base branch, and your branch as compare - Fulfill the PR description carefully.
::