/HACKTOBERFEST2021-8

Do push code on which you are working or if you have solved any problem in any language add the solution to this repository and help to contribute and star this repository!!Refer CONTRIBUTING.md for contributions!!

Primary LanguageC++MIT LicenseMIT

Hacktoberfest2021

Hacktoberfest is a month-long celebration of open source software sponsored by Digital Ocean, Intel, and DEV.



What is HacktoberFest🏵️?

Hacktoberfest, in its 8th year, is a month-long celebration of open source software run by DigitalOcean. During the month of October, you are invited to join open-source software enthusiasts, beginners, and the developer community by contributing to open-source projects.

Rewards🥇

  • For beginners this is the great opportunity to dive in the pool of open source.
  • Laptop stickers
  • Hacktoberfest T-shirt👕/Tree🌱(Tree planted in your name and help make Hacktoberfest 2021 more carbon neutral)

Rules📃

🏷️To earn your Hacktoberfest reward, you must register and make four valid pull requests (PRs) between October 1-31 (in any time zone). PRs can be made to any public repo on GitHub, not only the ones with issues labeled Hacktoberfest. 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.

Instructions 📜

  • First fork this repository.
  • Repeated codes will not be merged.
  • The quality of pull requests is paramount,quantity comes second.
  • Submit atleast four pull requests.
  • No programming language boundation.

FAQ

💥What is Pull Request ?

Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub.

💥What is Fork?

A fork is a copy of a repository that you manage. Forks let you make changes to a project without affecting the original repository. You can fetch updates from or submit changes to the original repository with pull requests.

💥How to create a Pull Request?

Creating Pull Request

💥How to rebase and update Pull Request?

Rebasing and Updating Pull Request

🌟You can Star and Fork this repository 🌟.

🚀 Quick Start :

Step 1: Forking the repository :

To work on this project, you will first need to make a copy of this repository. To do this, you should fork the repository and then clone it so that you have a local working copy.

Get your own Fork/Copy of this repository by clicking Fork button at right upper corner of your screen.

Step 2: Clone the Forked Repository

After the repository is forked, you can now clone it so that you have a local working copy of the codebase.

To make your local copy of the repository follow the steps:

  • Open the Command Prompt
  • Type this command:
$ git clone https://github.com/<your-github-username>/Hacktoberfest2021

Step 3: Creating a new branch

This is one of the very important step that you should follow to contribute in Open Source. A branch helps to manage the workflow, isolate your code and does not creates a mess. To create a new branch:

$ git branch <name_of_branch>
$ git checkout -b <name_of_branch>

Keep your cloned repository upto to date by pulling from upstream (this will also avoid any merge conflicts while committing new changes)

git pull origin main

Step 5: Contribute

Make relevant changes according to the issue that you were assigned on. Contribute in any way you feel like :)

Step 6: Commiting and Pushing

Once you have modified an existing file or added a new file to the project, you can add it to your local repository, which is being done with the git add command.

git add .

With our file staged, we’ll want to record the changes that we have made to the repository with the git commit command.

The commit message is an important aspect of your code contribution; it helps the other contributors fully understand the changes you have made, why you made it, and how significant it is.

git commit -m "useful commit message"

At this point you can use the git push command to push the changes to the current branch of your forked repository:

git push origin <branch-name>

Step 7: Create Pull Request

Now, you are ready to make a pull request to the original repository.

You should navigate to your forked repository, and press the "Compare & pull request" button on the page.

GitHub will alert you that you can merge the two branches because there is no competing code. You should add in a title, a comment, and then press the “Create pull request” button.


Project Admin ❤️


Hanshul Chandel

💻

✨ Contributors

Thanks go to these Wonderful People 👨🏻‍💻: 🚀 Contributions of any kind are welcome!


License

License

This project is licensed under the MIT License.

Copyright (c) 2021 Hanshul Chandel

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Happy Coding 👨‍💻

show some ❤️  by giving a star to this repo!!