Thanks for your interest in contributing to CopywriterProAI! We welcome and appreciate your contributions. To report bugs, create a GitHub issue.
Fork the CopywriterProAI backend repository into your own account. Clone your forked repository into your local environment.
git clone git@github.com:<YOUR-USERNAME>/copywriterproai-backend.git
- Configure Git Set the official repository as your upstream to synchronize with the latest updates in the official repository. Add the original repository as upstream.
cd copywriterproai-backend
git remote add upstream git@github.com:CopywriterPro-ai/copywriterproai-backend.git
Verify that the remote is set.
git remote -v
You should see both origin and upstream in the output.
- Synchronize with Official Repository Synchronize the latest commit with the official repository before coding.
git fetch upstream
git checkout main
git merge upstream/main
git push origin main
After you finish your implementation, open the forked repository. The source branch is your new branch, and the target branch is the CopywriterPro-ai/copywriterproai-backend
main
branch. Then a PR should appear in CopywriterProAI Backend PRs.
The CopywriterProAI team will review your code.
As described here, a valid PR title should begin with one of the following prefixes:
feat
: A new featurefix
: A bug fixdoc
: Documentation only changesrefactor
: A code change that neither fixes a bug nor adds a featurestyle
: A refactoring that improves code styleperf
: A code change that improves performancetest
: Adding missing tests or correcting existing testsci
: Changes to CI configuration files and scripts (example scopes:.github
,ci
(Buildkite))chore
: Other changes that don't modify src or test filesrevert
: Reverts a previous commit
For example, a PR title could be:
refactor: modify package path
feat(backend): add new API endpoint
, where(backend)
means that this PR mainly focuses on the backend component.
You may also check out previous PRs in the PR list.
As described here, we create several labels. Every PR should be tagged with the corresponding labels.
- If your PR is small (such as a typo fix), you can keep it brief.
- If it is large and you have changed a lot, it's better to write more details.