- Navigate to the Repository: Go to the GitHub page of the repository you want to contribute to.
- Fork the Repository: Click the
Forkbutton in the upper right corner of the repository page. This will create a copy of the repository in your own GitHub account.
- Fork visible on Profile:
- Open Terminal or Command Prompt: Use your terminal or command prompt to interact with GitHub.
- Clone the Repository: Clone the forked repository to your local machine using the following command:
Replace
git clone https://github.com/YOUR-USERNAME/Team_24-25.git
YOUR-USERNAMEwith your GitHub username.
- Navigate to the Cloned Directory: Change directory to the cloned repository:
cd REPOSITORY-NAME
- Fetch Upstream Changes: Ensure your fork is up-to-date with the original repository:
git fetch upstream git checkout main git merge upstream/main
-
Create a New Branch: Create a new branch for your changes:
git checkout -b your-branch-name
Replace
your-branch-namewith a descriptive name for your branch.
- Make Changes: Implement your changes in the codebase using your preferred code editor.
-
Stage Changes: Add the changes to the staging area:
git add . -
Commit Changes: Commit your changes with a meaningful commit message:
git commit -m "Description of the changes made"
- Push Changes: Push your branch to your forked repository on GitHub:
git push origin your-branch-name
- Navigate to Your Forked Repository: Go to the GitHub page of your forked repository.
- Create a Pull Request: Click the
Compare & pull requestbutton next to your branch. - Fill Out Pull Request Details: Provide a descriptive title and detailed description of your changes. Include any relevant issue numbers if applicable.
- Submit Pull Request: Click
Create pull request.
- Review Feedback: Review any comments or feedback provided by the repository maintainers.
- Make Necessary Changes: If requested, make the necessary changes and push them to your branch. The pull request will update automatically.










