What & How to do in Hacktoberfest 2022
Tags: hacktoberfest, opensource, contribute, coder
Published: 2022-09-27 12:55:42

# How to begin with Hacktober fest 2022

> Hacktoberfest encourages participation in the open source community, which grows bigger every year. Complete the 2022 challenge and earn a limited edition T-shirt, stickers, swags etc. It'll begin from October 2022.  

> Hacktoberfest, in its 9th year, is a month-long celebration of open source software run by Digital Ocean. During the month of October, we invite you to join open-source software enthusiasts, beginners, and the developer community by contributing to open-source projects. 

![Hacktoberfest2022](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2kh9948c51puxs33ct0b.png)


You can do this in a variety of ways:

- Prepare and share your project for collaboration
- Contribute to the betterment of a project via pull requests
- Organize an event
- Mentor others
- Donate directly to open source projects

**So what are the various steps to perform in order to participate & get your PRs(Pull Requests) accepted and added to fest?**

*Here you'll find all these simple questions !
So, let's get started. Let's assume you're a developer who'll participate in this fest & contribute to the open source repos.*

# Prerequisites

[ ] GitHub profile
[ ] Coder/Developer's mindset

# Steps to perform

### **Registration**
1. The very first thing is to login into your Github profile in your browser.
2. Navigate to the [Hacktober Fest 2022](https://hacktoberfest.com/) URL.
3. Sign Up with your [github](https://github.com/) profile  (You may also use your [gitlab](https://gitlab.com/) profile).
4. Click on Start Hacking button.
5. Here marks the ending of registration part in Hacktober Fest 2022.

---
### **Uploading your project in GitHub account**

Created your project in local computer? Let's upload into your github account.

1. Click on New button in the top-right corner of your account
2. Put some name for your repo. It'll be unique for your account. Make sure it'll be the name of your project. Don't name it as Elon Musk's son ! :laugh:
3. Click on Add File button & select Upload existing file from dropdown.
4. Drag & Drop the directory into the space or else Browse through the computer to upload full directory. Don't upload files individually.
5. Click on Commit changes button to upload & save repo.
6. Your repo with the required files is uploaded with complete content. 

*P.S. - Make sure you've uploaded README.MD file for attractive look of your repo.*

---

### **Find repos who're participating in Hacktober Fest 2022 so that your work will be added in this fest**

1. Go to search bar of GitHub
2. Search for 'hacktoberfest2022'
3. Chose any one repo to contribute. 

My Suggestion: If you're a fresher, just search for the repo having some simple programs. Search with the required language which you're more familiar.

Below are some repos who are accepting pull requests for this year.
- [Repo1](https://github.com/fineanmol/Hacktoberfest2022)
- [Repo2](https://github.com/ossamamehmood/Hacktoberfest2022)
- [Repo3](https://github.com/MrKrishnaAgarwal/Hacktoberfest2022)
- [Repo4](https://github.com/abhimanyuiscoding/Hacktoberfest2022)
- [Repo5](https://github.com/vinayskywalker/Hactoberfest2022)
- [Repo6](https://github.com/Sanyam-2026/Hacktoberfest2022)
- [Repo7](https://github.com/PraSarOG/Hacktoberfest-22)

---

### **How to raise an Issue before raising PR**

> Question should be why to raise an issue before PR. Answer is simple - Maybe your idea/code maybe already contributed by other fellow developer.  
&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp; OR   
Maintainer doesn't want particular type of code/project in his repo. So, he can deny for that Pull Request.

1. Click on Issue tab
2. Click on New Issue button
3. Give necessary information about your idea of new project which you want to contribute
4. Click on Raise Issue button in bottom
5. Moderator/Maintainer will review the issue/idea for project & assign you with a Issue no. (for eg. - #35)
6. Mention the Issue no in Pull Request for better maintainability.

---

### **How to upload your own projects & contribute to open-source**

1. Hope you've found the repo you want to contribute. Go to the repo & click on fork button on the top-right corner.
  
2. GitHub will ask where to fork it. Click on your `username/repo-name` link
  
3. Upload the necessary folder/files in the specified place in repo.

*That's it programmer !*

---

### **How to do a PR (Pull Request) ?**
> Don't think too much, if you've successfully completed 4 PRs in same repo also, you'll be eligible for that swag/t-shirts by Digital Ocean. :happy:

1. After uploading the folder/files, click on Pull Request button in top corner.
2. Click on New Pull Request.
  ![image](https://user-images.githubusercontent.com/40369168/135883341-56f8dcdc-6fbf-4dc8-ba6b-c7feee4fbd9a.png)

3. Make sure New Pull Request should not be conflicting ones. Mostly, it doesn't but be sure.
  ![image](https://user-images.githubusercontent.com/40369168/135883604-25c68ec5-f35c-4a85-85eb-b4eded7ce55d.png)

5. Give necessary information about your newly added files/folder which you've created.
  
6. Click on Create Pull Request button to complete the overall Pull Request.
  ![image](https://user-images.githubusercontent.com/40369168/135883837-eb24f0ec-cb90-4f74-83ac-c57b52683cc5.png)

7. Now, your job is completed. Moderator/Maintainer of the repo will review the project & once satisfied, he'll merge the commit into `main` branch.

---

Login to [Hacktober fest 2022](https://hacktoberfest.com/) & see the updated status of the Pull Requests by you.

> | Project name | Status |  
> |---|---|

This will be the format under Contributions Tab of Hacktoberfest portal.

<br><br><br>

**Below was my tracker for 04/10/2021** 🔽
![image](https://user-images.githubusercontent.com/40369168/135886288-b84b6cb8-950c-48b3-bbfe-2bd7802f8770.png)


---

> I've tried to cover every small detail I've gone through. If anyone have doubt do raise an issue, I'll try to cover that also. If you've any questions, they're also welcomed !

# Author

[Nitin Kumar](https://github/com/nitinkumar30/)