Step-by-Step Guide to Contributing to Hacktoberfest Level 1 Code Snippets
New article articles in ServiceNow Community
ยท
Oct 06, 2025
ยท
article
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. S*ync 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! ๐
https://www.servicenow.com/community/community-central-articles/step-by-step-guide-to-contributing-to-hacktoberfest-level-1-code/ta-p/3398315