DEV Community

Vaibhav arora
Vaibhav arora

Posted on

Getting started with HacktoberFest

So, here's the October and well known Hactoberfest to enhance the Open Source culture and one of the best oppurtunity for beginners to get started with open source. We held a session other open source contributors link

Within this I would be describing the key take aways of session as well as how one can get started with Hactober fest.

Take aways:
1.) Open Source is for everyone (from very beginner to expert all can evolve in open source culture)
2.) Readme of the projects is the key to understand the project.
3.) Starting by contributing to little feature in starting and studying only required code in depth is good approach rather than getting confused with big codebase in starting.
4.) join community groups or mailing list of orgs inn which you are contributing (as they are good platform to interact with project mentors, admin and other community member those can solve your various queries and doubts)
5.) Ever contribution counts(either it's in Readme or feature or any other)
6.) You need to be really patient many times.

How to start with Hacktoberfest

1.) Visit Hackotober fest Website
2.) Click on start Hacking button and follow the step prompted on your screen.
3.) So now you are ready to make your valid PRs to repos with Hactoberfest topic or could make PR and can ask mentor or reviwer to add hacktoberfest-accepted label
4.) once you make 4 pull request, You are all done.
5.) wait wait dont stop your journey limited or bound to 4 pull requests, but take it as starting point if your beginner and accelerate your open source journey.

How to Contribute

Below are the steps to follow to contribute to this project:

1. Fork Techzette project repository. (you can take any project, but in this we would be using this project as an example)

2. Clone your forked copy of the project.

git clone https://github.com/<your_user_name>/techzette.git
Enter fullscreen mode Exit fullscreen mode

where your_user_name is your GitHub username. Here you're copying the contents of the first-contributions repository on GitHub to your computer.

3. Navigate to the project directory 📁 .

cd techzette
Enter fullscreen mode Exit fullscreen mode

4. Add a reference(remote) to the original repository.

https://github.com/WorkWithCraze/techzette.git 
Enter fullscreen mode Exit fullscreen mode

5. Check the remotes for this repository.

git remote -v
Enter fullscreen mode Exit fullscreen mode

6. Always take a pull from the upstream repository to your master branch to keep it at par with the main project(updated repository).

git pull upstream master
Enter fullscreen mode Exit fullscreen mode

7. Create a new branch.

git checkout -b <your_branch_name>
Enter fullscreen mode Exit fullscreen mode

8. Make necessary changes and commit those changes

9. Track your changes✔️ .

git add . 
Enter fullscreen mode Exit fullscreen mode

10. Commit your changes .

git commit -m "Relevant message"
Enter fullscreen mode Exit fullscreen mode

11. Push the committed changes in your feature branch to your remote repo.

git push -u origin <your_branch_name>
Enter fullscreen mode Exit fullscreen mode

12. To create a pull request, click on compare and pull requests. Please ensure you compare your feature branch to the desired branch of the repo you are suppose to make a PR to.

13. Add appropriate title and description to your pull request explaining your changes and efforts done.

14. Click on Create Pull Request.

15. Hurray ❗ You have created a PR to the techzette. Sit back patiently and relax till then the project maintainers will review your PR. Please understand, there will be some time taken to review a PR and can vary from a few hours to a few days too so be Patient and keep contributing.

Top comments (0)