If you find an issue in the course content or have suggestions for improvement, you can contribute by creating a pull request (PR) to the main repository. Follow the steps below:
- Navigate to the main repository on GitHub.
- Click on the "Fork" button in the top-right corner. This will create a copy of the repository in your GitHub account.
- In your forked repository, navigate to the file you want to edit.
- Click on the pencil icon (Edit this file) in the top-right corner of the file viewer.
- Make the necessary changes to the file.
- Scroll down and describe your changes in the "Commit changes" section. Provide a short title in the "Commit changes" box and an optional detailed description below it.
- Choose to commit the changes directly to the
main
branch (or the default branch of the repository).
- After committing your changes, go to the main page of your forked repository.
- Click on the "Pull request" tab, then click the "New pull request" button.
-
- Ensure that the base fork points to the main repository and the head fork points to your forked repository.
- Review your changes and click on the "Create pull request" button.
- Add a descriptive title and explain the changes you made in the description box.
-
- Click "Create pull request" again.
- The repository maintainers will review your pull request.
- They might ask for changes or improvements. Make sure to keep an eye on the pull request for any comments or requests.
-
If you find an issue in the course content or have suggestions for improvement, you can contribute by creating a pull request (PR) to the main repository. Follow the steps below to create a pull request:
- Navigate to the main repository on GitHub.
- Click on the "Fork" button in the top-right corner. This will create a copy of the repository in your GitHub account.
- Go to your forked repository.
- Click on the "Code" button and copy the URL.
- Open a terminal or command prompt and run:
Replace
git clone [URL]
[URL]
with the URL you just copied.
- Navigate to the directory where you cloned the repository.
- Make the necessary changes to the files.
- In your terminal or command prompt, navigate to the cloned repository directory.
- Run the following commands:
Replace
git add . git commit -m "Describe your changes here" git push origin main
main
with the default branch name if it's different.
- Go back to your forked repository on GitHub.
- Click on the "New pull request" button.
- Ensure that the base fork points to the main repository and the head fork points to your forked repository.
- Review your changes and click on the "Create pull request" button.
- Add a descriptive title and explain the changes you made in the description box.
- Click "Create pull request" again.
- The repository maintainers will review your pull request.
- They might ask for changes or improvements. Make sure to keep an eye on the pull request for any comments or requests.