Feel free to contribute to this repository or use it as a playground for your coding practice!
-
Fork the Repository: Click on the "Fork" button on the GitHub repository's page. This creates a copy of the repository under the contributor's GitHub account.
-
Clone the Forked Repository: Clone the forked repository to your local machine using the
git clone
command.git clone https://github.com/Joshua-Coded/1_project_per_week.git
-
Add Upstream Remote: Add the original repository (upstream) as a remote to keep your local copy in sync with the main project.
git remote add upstream https://github.com/Joshua-Coded/1_project_per_week.git
-
Create a Branch: Create a new branch in your name.
git checkout -b your-branch-name
-
Make Changes: Make the necessary changes to the code.
-
Commit and Push Changes:
git add . git commit -m "Your commit message" git push origin your-branch-name
-
Pull Changes from Upstream: Before creating a pull request, it's essential to pull the latest changes from the main repository.
git pull upstream main
-
**Resolve Conflicts (if any)
-
Push Changes to Fork: Once conflicts are resolved, push the changes to your forked repository.
git push origin your-branch-name
-
Create a Pull Request: Finally, create a pull request on the GitHub website from your branch to the main repository.
Let's build something amazing together! ๐