This project is for those who are learning to contribute into open source. You don't have to do anything. Just fork the repository, add an extra line of space or a comment and simply generate a pull request. Don't worry, if you successfully generate a PR, we will merge it.
Welcome! 🎉 We’re excited to have you contribute to this project. Here’s a beginner-friendly guide to help you get started.
- Click on the Fork button at the top right of this repository page. This creates a personal copy of the project in your GitHub account.
- After forking, you’ll have a new repository in your account (e.g.,
your-username/hacktober-line-addition-for-pr
).
To make changes locally, clone your fork:
git clone https://github.com/your-username/hacktober-line-addition-for-pr.git
Note: Replace
your-username
with your actual GitHub username.
It's best practice to create a new branch for each feature or bug fix. In your terminal, navigate to the project folder:
cd hacktober-line-addition-for-pr
Then, create and switch to a new branch:
git checkout -b your-branch-name
Note: Replace
your-branch-name
with a descriptive name (e.g.,add-new-line
oradd-new-comment
).
Now you’re ready to make changes! Open the project in your favorite code editor, make the changes you want, and save them.
Once you’ve made and saved your changes, it’s time to commit them. First, stage the files you changed:
git add .
Next, commit your changes with a descriptive message:
git commit -m "Briefly describe what you changed"
Push your changes to the branch on your forked repository:
git push origin your-branch-name
- Go to your forked repository on GitHub.
- Click on Pull Request on the left, then click New Pull Request.
- Select the branch you just pushed and click Create Pull Request.
- Add a title and description for your changes, then submit the pull request.
Once you’ve created the pull request, we will potentially merge it into the main project!
This is just for Educational purposes and to make you comfortable with the process of generating PRs. Isko laga dala toh life jhingalala.