Skip to content

Latest commit

 

History

History
76 lines (45 loc) · 2.07 KB

README.md

File metadata and controls

76 lines (45 loc) · 2.07 KB

HACTOBERFEST2020

hack

Open source contribution is always fun and exciting 🤩

Let's make a contribution to this repository.

Let me show you how easy it is:

1. Fork this repository

Fork this repository by clicking on the fork button on the top of this page. This will create a copy of this repository in your account.


2. Clone the repository

Now clone the forked repository to your machine. Go to your GitHub account, open the forked repository, click on the clone button and then click the copy to clipboard icon.
Now let's bring the cloned repository to your local machine.
git clone <url-you-just-copied>
For example:
git clone https://github.com/harshareddy794/HACTOBERFEST2020.git


3. Move inside the repository

Since you want to change the files inside, first let's move to the folder correctly. Use the following command on terminal:
cd HacktoberFest2020


4. Make a new branch

Since now you're about to make your personal changes to the project, it's always a better idea to make a new branch. Run the following command:

git checkout -b <branch_name>
For example:
git checkout -b new_branch


5. Make the required changes

Check out the CONTRIBUTE.md file to see what all contributions can you make.


6. Commit all your changes

It's finally that time when you commit your changes and leave a beautiful commit message behind. You can run the following commands:

git add .
git commit -m "<Message>"
For example:
git commit -m "Added a script"

Finally, push your changes to Github:
To do so run the following command:

git push origin <your-branch-name>
For example:
git push origin branch_name


7. Hit us a pull request

If you go to your repository on GitHub, you'll see a Compare & pull request button. Click on that button. Now submit the pull request. Leave a custom message if you want.