Skip to content

Latest commit

 

History

History
86 lines (63 loc) · 4.07 KB

README.md

File metadata and controls

86 lines (63 loc) · 4.07 KB

Hacktoberfest DSA Repository

Introduction

This repository contains all the Implementations of famous and popular algorithm and their implementations fork to make a reference for yourself and contribute to increase the repository's codebase.

This DSA repository can also be used to contribute to Hacktoberfest which is a month-long celebration to encourage developers to use and contribute to open source projects. Continuing with the tradition to encourage first timers to contribute.

How can I Contribute?

This repository is for you to learn to contribute to open source projects. Write an implementation of your favorite algorithm from the issues section in the programming language of your choice and submit a pull request to this repository. For ideas, check out the issues page!

Issues page is for your reference. You are to submit implementation of your choice of algorithm in any programming language if you think it is also important to be there..

Spamming with Illogical PRs about upadting, changing readme will not be considered. Please refer to Contributing.md for more info.

Steps to follow

  1. Create an empty directory in your local system and cd into it
mkdir open_source
cd open_source
  1. Initialize an empty git repository
git init

This command initializes your directory for git version control

  1. Fork this repository by clicking on the 'Fork' button

  2. Clone the forked repository in the directory you just made

git clone https://github.com/<your-github-username>/<repo_name>.git
  1. cd into the project repository and adding your implementation of your favorite algorithm in the programming language of your choice.
cd <repo_name>
cd Sorting
vim/subl/gedit/nano my-awesome-algorithm{.c/.cpp/.java/.py}
  1. Commit your changes
git add my-awesome-algorithm{.c/.cpp/.java/.py}
git commit -m "Add an implementation of my awesome algorithm in {C,C++,Java,Python}"

Here are some guidelines on how to write a great commit message.

  1. Push your commits
git push

This will prompt you to enter your github credentials for a successful push.

  1. Create your first Pull Request!
Go to 'Pull requests' tab of your forked repository
Click on 'New pull request'
Compare your changes
Create the pull request

Github Desktop Tutorial

Github Desktop can be also used if the above method seems complicated. It can be downloaded from here.

WATCH THE TUTORIAL ON HOW TO USE IT!

Github Tutorials

Although this should get you going, here are some awesome tutorials to help you create your first PR!

Happy Hacking!

Maintained by Atul Sharma