Welcome to the monorepo for the Penn Aerial Robotics Team! This repository is designed to centralize all code and documentation for our projects. To ensure a smooth workflow and maintain high code quality, we have set specific guidelines for development.
All development should be done on individual branches, not directly on the main branch. Please adhere to the following naming convention for your branches:
Example:
user/ethayu/navigation_system
Follow these steps to create a new branch and start your project:
- Switch to the main branch:
git checkout main - Pull the latest changes from the
mainbranch:git pull origin main - Create and switch to your new branch:
git checkout -b user/.../...
- Commit Often: Make small, incremental commits that include clear and concise descriptions.
- Write Quality Code: Ensure your code is clean, well-documented, and adheres to the team’s coding standards.
- Push Regularly: Push your changes to the remote repository frequently to keep others updated and avoid conflicts.
- Push your branch to the remote repository:
git push -u origin user/.../... - Create a Pull Request (PR):
- Open the GitHub repository in your browser.
- Navigate to 'Pull Requests' and click 'New Pull Request'.
- Select your branch and provide a detailed description of your changes.
- Request a Review: Ask at least one other team member to review your PR.
- Address Feedback: Make necessary revisions based on the feedback received.
- Merge Conflicts: If there are conflicts, resolve them by merging
maininto your branch and fixing the issues.
After your PR has been approved, you may merge it into the main branch:
- Final Pull from Main:
git checkout maingit pull - Merge Your Branch:
git merge user/.../...git push origin main
- Stay Informed: Regularly check the repository for updates and announcements.
- Communicate: Keep in touch with your team members about your progress and any challenges you face.
- Document: Update project documentation and READMEs as necessary to reflect new changes or additions.
Thank you for contributing to the Penn Aerial Robotics Team. Let's make great things happen together!