How to Contribute

To contribute to Decentra projects, follow these steps:

  1. Fork the Repository:

    • Go to the project’s GitHub repository and fork it to your personal GitHub account.

  2. Make the Fork Private:

    • Ensure your forked repository is set to private.

    • On GitHub, navigate to your forked repository's settings.

    • Under the "General" tab, check the "Private" option.

  3. Clone the Fork:

    • Clone your private forked repository to your local machine using the command git clone https://github.com/yourusername/project-repo.git.

  4. Create a Branch:

    • Create a new branch for your work using the command git checkout -b feature-branch.

  5. Make Changes:

  6. Add Tests:

  7. Commit Changes:

    • Commit your changes with a meaningful commit message using the commands git add . and git commit -m "Description of your changes".

  8. Push to GitHub:

    • Push your changes to your private fork on GitHub using the command git push origin feature-branch.

  9. Invite Reviewers:

    • Invite the Decentra team and judges to view your private fork. Their GitHub usernames are listed at the end of every project's sprint documentation.

    • On GitHub, navigate to the "Settings" of your private fork.

    • Under "Manage Access," invite the team members and judges.

  10. Create a Pull Request:

    • Once your changes are ready and reviewed, navigate to the original repository and create a pull request from your private fork. Use the PR template provided.

By following these steps, you ensure that your contributions are private, secure, and align with the standards of the Decentra platform.