Hacktoberfest is an annual, month-long celebration of open source software. It's organized by DigitalOcean and takes place every October. This event is open to everyone in our global community!
Whether you're a developer, student learning to code, event host, or company of any size, you can help drive growth of open source and make positive contributions to an ever-growing community. All backgrounds and skill levels are encouraged to complete the challenge.
Hacktoberfest encourages participation in giving back to the open-source community by completing pull requests, participating in events, and donating to open source projects. In its 10th year, Hacktoberfest continues to grow and foster a vibrant open source community that we are all a part of.
- First sign up on the Hacktoberfest site anytime between September 26 and October 31.
- To qualify for digital swags, you must register and make four pull requests between October 1-31.
- You can contribute to any public repository on GitHub, not just the ones highlighted.
- If a maintainer reports your pull request as spam or behavior not in line with the project’s code of conduct, you will be ineligible to participate.
To earn your tree reward, you must register and make four valid pull requests (PRs) between October 1-31 in any time zone. Pull requests can be made in any participating GitHub-hosted repositories/projects.
Contributions aren't limited to code – we welcome contributions to documentation, design, translations, bug reports and more! If you're new to open source or interested in contributing, this repository is a great place to start. If you're an experienced open-source contributor, feel free to check out these issues and contribute.
Ready to contribute? Check out our Contribution Guide for information on how to get started.
Happy Hacking!
Welcome to the First Contributions project, designed to help beginners make their first open-source contribution. If you're new to this process, follow the steps below.
If you're not familiar with the command line, you can use GUI tools to help you.
Before you start, ensure you have Git installed on your machine.
Begin by forking this repository. Click the "Fork" button at the top of this page. This action will create a copy of this repository in your GitHub account.
Next, clone your forked repository to your local machine. Go to your GitHub account, open the forked repository, click on the "Code" button, and then click the "Copy to clipboard" icon.
Open your terminal and run the following command, replacing "url you just copied"
with the copied URL:
git clone "url you just copied"
For example:
git clone https://github.com/your-username/first-contributions.git
Change to the repository directory on your computer (if you are not already there):
cd first-contributions
Now, create a branch using the git checkout
command:
git checkout -b your-new-branch-name
For example:
git checkout -b add-alonzo-church
Open the Contributors.md
file in a text editor and add your name to it. Don't add it at the beginning or end of the file; place it anywhere in between. Save the file.
If you run the git status
command in your project directory, you'll see there are changes. Add those changes to the branch you created using the git add
command:
git add Contributors.md
Now commit those changes:
git commit -m "Add <your-name> to Contributors list"
Replace <your-name>
with your name.
Use the git push
command to push your changes to GitHub:
git push origin -u <add-your-branch-name>
Replace <add-your-branch-name>
with the name of the branch you created earlier.
If you encounter errors while pushing, click here:
-
If you encounter an authentication error, it's because GitHub has removed support for password authentication. You need to use a personal access token instead. GitHub's tutorial can guide you through generating and configuring an SSH key for your account.
Go to your repository on GitHub, and you'll see a "Compare & pull request" button. Click on that button.
Submit the pull request.
You will receive a notification email once your changes have been merged.
Congratulations! You've completed the standard fork -> clone -> edit -> pull request workflow for contributing. Celebrate your contribution and share it with friends and followers using the web app.
If you have questions or need help, you can join our Slack team: Join Slack Team.
Now, let's get you started with contributing to other projects. We've compiled a list of projects with easy issues for newcomers. Check it out here.