Git Product home page Git Product logo

hacktoberfest-2020's Introduction

Hacktoberfest 2020

Author Issues License Stars Forks Last Commit Maintained Size

Banner

How to Participate in Hacktoberfest 2020?

Register yourself.

Register yourself here to be eligible to participate in Hacktoberfest. You need to have a GitHub Account to do that.

[Additional] Star and Fork this Repository.

It is pretty easy to do the aforementioned, hover over to the top right corner of this repository to find the buttons to Star and Fork this repository.

Banner2

How to Contribute and Create a PR on this Repository?

1. Clone this repository.

You first need to create a local copy of this repository after you have forked it to be able to contribute to the same. Copy the following command and paste it in your terminal.

git clone https://github.com/username/Hacktoberfest-2020.git

Please ensure that you add YOUR username in the command and do this after Forking the Repository.

2. Create a New Branch

After successfully cloning the repository, you need to now create a separate branch for yourself to not disturb the workflow of the repository. If you aren't already inside the main folder copy this command in terminal and press enter.

cd Hacktoberfest-2020

Now that you are inside the main folder, use this command to create a new branch for yourself.

git branch (name of your branch)

Please ensure that the name of your branch is your username.

3. Switch to your New Branch

To start working and to push code from your own branch, please execute the following command in the Terminal.

git checkout (name of your branch)

You should receive a notification which will state that you have switched to your newly created branch.

4. ADD YOUR FAVORITE PIECE OF CODE WHICH CAN HELP BUDDING DEVELOPERS GROW!

Created a calculator in JavaScript? Made a very normal alert app in Kotlin? Push it in your branch! Anything that you think will help budding developers, you can add it here. While doing so, don't forget to add your name to the list of contributors that you will find below. While you are at it, ensure that you add something useful and not just add your name to the list of contributors. If you push an empty commit, your pull request will be marked as Invalid/Spam.

5. Sync all Updates

The part you have been waiting for. If you are sure that you are following the guidelines that you can find here, proceed further and execute the following command in your terminal.

git add .

This will add all the files in your local repository. After this execute

git commit -m "ADD YOUR MESSAGE HERE (PREFERABLY THE NAME OF YOUR PROJECT)"

Note that it is mandatory for you to add a Commit Message for others to understand what you are trying to add here. Now finally to push updates to the new branch, execute the following:

git push --set-upstream origin (name of your branch)

While you are at it, also execute the following command which will specify a new remote upstream repository (the cone you are looking at).

git remote add upstream https://github.com/aaishikasb/Hacktoberfest-2020.git

6. Keep your Repository in Sync

You need to use the following commands to help you sync all the branches with their respective commits associated with this repository and stay in loop. Copy these commands and execute:

git fetch upstream

git checkout master

Post this you simply need to merge all the changes you made.

git merge upstream/master

  1. Create a Pull Request (The Part you have been waiting for) Now that you are done with the most complex parts of the process, you can just go to your forked repository and Click on New Pull Request towards the left hand side of the page and You're Done! Congratulations on successfully creating a Pull Request there!

What are the most important Git Commands that I am going to need?

Some important commands that you are going to need are listed below:

  • git checkout "(name of your branch)"
  • git checkout dev
  • git pull (Really !Important to merge updates)
  • git rebase dev

The most important commands now are as below:

  • git add . or git add -A
  • git commit -m "MESSAGE"
  • git push origin (name of your branch)

Guidelines

(Insert a Joe Biden Meme)

Joe

I am once again asking you to go through the Guidelines here.

Contributors

Please add your name in the list in the following format:

- Name - [File Name](File Address)

Please do not spam the repository with unnecessary Pull Requests. Happy Hacking!

hacktoberfest-2020's People

Contributors

aaishikasb avatar eeshandutta007 avatar sulthannk avatar iamrahulpanchal avatar varunvjha avatar ravikr126 avatar aarushi21 avatar arnoob16 avatar imgbotapp avatar k-samarth avatar kiranparihar avatar varadp2000 avatar adyashap2011 avatar mridul-netizen avatar swagatika1101 avatar yasharthratan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.