- Go to the main page of the repository.
- Click on the Fork button in the upper right corner.
- Go to your forked repository.
- Click on the Code button.
- Copy the URL provided.
- Open your terminal.
- Navigate to the directory where you want to clone the repository.
- Run the following command:
git clone https://github.com/moboluwade/dev-league.git
- Navigate into the cloned repository.
- Run the following command to create a new branch:
git checkout -b setup
- Open the project in your favorite code editor.
- Make your changes.
-
Stage your changes by running:
git add .
-
Commit your changes by running:
git commit -m "\<commit-message\>"
-
Push your changes by running:
git push origin \<branch-name\>
- Go to the original repository you created your fork from.
- Click on the Pull requests tab.
- Click on the New pull request button.
- Click on compare across forks.
- Confirm that the base repository is the original repository and the head repository is your fork.
- Confirm that the base branch is the branch you want to merge your changes into and the compare branch is the branch where you made your changes.
- Click on the Create pull request button.
- Add a title and description to your pull request.
- Click on Create pull request.
And that's it! You've now created a pull request and contributed to a React + Vite project. Happy coding! 🎉