- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Monday
In this article, I’ll walk you through a step-by-step process to successfully contribute to a Hacktoberfest Level 1 Code Snippet project. 🧩
All you need is:
- A GitHub account
- Some creative ideas 💡
- And your enthusiasm to contribute and grow together 🚀
Step 1: Open the Original Repository
To begin your Hacktoberfest Level 1 contribution, open the official Code Snippet repository where all contributions are made.
👉 Click here to open the repository
Step 2: Fork the Repository
Click on Fork in the top-right corner of the repository page (as shown in the screenshot).
This will create a copy of the repository under your GitHub account where you can make your changes.
A page appears after clicking Fork:
A photocopy of the original repository is now available in your GitHub account for you to work on. 🎉
Step 3: Create a New Branch
Click on the Branch -> New branch
Type a name for your new branch (for example, my-first-contribution), and make sure the source is the code-snippet-copy repository and the main branch.
Once the branch is created, you’ll see it listed under branches. Click on your newly created branch (e.g., my-first-contribution).
Step 4: Sync Your Fork
Verify that you’re in the correct branch before you start contributing. Sync your fork to make sure it’s up to date with the latest changes from the original repository. Click on Sync fork → Update branch in your GitHub fork.
Step 5: Make Your Contribution and Commit Changes
Before you start, make sure to read the README and CONTRIBUTING file thoroughly to understand the guidelines and best practices for contributing. This will help ensure your contribution is correct and accepted.
Add your code snippet or update the file as required.
Once done, click Commit changes, add a short and meaningful commit message, and save your work.
Step 6: Create a Pull Request
Once your changes are committed, go back to your code-snippet-copy repository.
You’ll see a Compare & pull request button. Click on it to start submitting your contribution. 🚀
Step 7: Submit Your Pull Request
After clicking Compare & pull request, the Open a pull request Page appears.
Verify the repositories:
- Enter the title to your pull request
- The description is already filled, so simply check the checkbox if required.
- Click Create pull request to submit your contribution. ✅
Step 8: Contribution Submitted
Congratulations! Your contribution is now submitted. 🎉
For your next contribution, simply:
- Go back to the main branch of your repository.
- Create a new branch from it.
- Start your next set of contributions following the same steps.
Keep contributing, learning, and growing together! 🚀
Happy Hacking!
If you found this guide helpful and want me to create similar step-by-step guides for Hacktoberfest Level 2 and Level 3, please leave a comment below. I’d love to help you continue your Hacktoberfest journey! 🚀
- 483 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
This is very helpful.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi @Juhi Poddar ,
Thanks for the article , really helpful.
Could you please provide steps for Step 5 where REAMED & contribute is important. How can access
README file and include comments in the JavaScript file for Code Snippet ?
is the similar way have to perform Level 2, Level 3 ? If possible please provide some steps.
Can we send 6 pull request for Code snippet ?