We love contributions! This document guides members of NexaTech Rwanda on how to contribute to our projects professionally and efficiently.
-
Forking & Cloning
- For external collaborators: fork the repository and clone your fork:
git clone https://github.com/your-username/repo-name.git
- For organization members: clone directly:
git clone https://github.com/nexatech-rwanda/repo-name.git
- For external collaborators: fork the repository and clone your fork:
-
Branches
- Always create a branch for your work.
Naming convention:feature/short-description bugfix/short-description hotfix/short-description - Example:
git checkout -b feature/add-login-page
- Always create a branch for your work.
-
Making Changes
- Write clear, concise commits:
git add . git commit -m "Add login page with validation"
- Pull the latest changes from main before pushing:
git pull origin main
- Write clear, concise commits:
-
Pushing Changes
- Push your branch to the organization repository:
git push origin feature/add-login-page
- Push your branch to the organization repository:
-
Creating a Pull Request (PR)
- Navigate to the repo on GitHub
- Click “Compare & pull request”
- Provide a clear description of your changes
- Assign reviewers if needed
- Add relevant labels (
feature,bugfix,documentation, etc.) - Once approved, a team member will merge it into main.
-
Code Review
- All PRs must be reviewed by at least one other team member.
- Keep discussions professional and constructive.
-
Commit & PR Best Practices
- Commit often, but in logical chunks
- Write descriptive commit messages
- Reference issues if applicable (
Fixes #issue-number) - Ensure your code follows the project’s style guides
-
Testing
- Run all tests locally before submitting a PR
- Make sure your changes do not break existing functionality
-
Communication
- For questions or guidance, use the organization’s Slack/Discord or email:
contact@nexatech.rw
- For questions or guidance, use the organization’s Slack/Discord or email:
git clone https://github.com/nexatech-rwanda/repo-name.git
git checkout -b feature/your-branch
# Make your changes
git add .
git commit -m "Describe your change"
git pull origin main
git push origin feature/your-branch
# Open Pull Request on GitHub