logo

NJP

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.

JuhiPoddar_0-1759725425077.png

A page appears after clicking Fork:

JuhiPoddar_1-1759725440467.png

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

JuhiPoddar_2-1759725470367.pngJuhiPoddar_3-1759725480398.png

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.

JuhiPoddar_4-1759725543372.png

Once the branch is created, youโ€™ll see it listed under branches. Click on your newly created branch (e.g., my-first-contribution).

JuhiPoddar_5-1759725558695.png

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.

JuhiPoddar_6-1759725574485.png

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. ๐Ÿš€

JuhiPoddar_7-1759725589999.png

Step 7: Submit Your Pull Request

After clicking Compare & pull request, the Open a pull request Page appears.

Verify the repositories:

JuhiPoddar_10-1759726017955.png

  • 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. โœ…

JuhiPoddar_8-1759725606439.png

JuhiPoddar_9-1759725613792.png

Step 8: Contribution Submitted

Congratulations! Your contribution is now submitted. ๐ŸŽ‰

For your next contribution, simply:

  1. Go back to the main branch of your repository.
  2. Create a new branch from it.
  3. 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! ๐Ÿš€

View original source

https://www.servicenow.com/community/community-central-articles/step-by-step-guide-to-contributing-to-hacktoberfest-level-1-code/ta-p/3398315