Coder Social home page Coder Social logo

srinivaspathipati / hacktoberfest-first-pr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dsckiet/hacktoberfest-first-pr

0.0 0.0 0.0 26 KB

:octocat: :rocket: A project to help new developers to get started with GitHub with their first Pull Request #HacktoberFest

hacktoberfest-first-pr's Introduction

First_Contribution ๐Ÿ”ฐ ๐Ÿš€ :HackertoberFest: 2019


A project to help new developers to get started with GitHub with first Pull Request

It's difficult when you do something for the first time. Like riding a bicycle, learning to cook or working on a new project.

But working on collaborative projects can be a hassle and we don't want to make mistakes to show that we are good developers. As open source is all about collaboration and working together.That is why this project was created to help new developers to make their first contribution and start their journey as a developer and contributing to the open source.

I can watch online tutorials and learn why this?

That's true you can watch and learn. But what's a better way to learn than getting hands-on experience & experiment by start contributing straight away?This project aims to provide beginners a simplified way to start contributing to open source.So If you are looking to make your first contribution to open source.This is the right place. Follow the following steps to get you started.

If you don't have git, install it from here.

1. Fork this Repository

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

2.Clone Repository

  • Now you are at your forked repository at your profile.
  • At the right side corner find clone or download _ button
  • Now clone this repo to your machine. Click on the clone button and then click the copy to clipboard icon.
  • Now go to location on your computer where you want to store the local copy of this repository,where you will work on it.
  • After this, right click and select git bash here
  • A terminal will open, see that the path is the same path where you want to clone.
  • Now run the following command: -- git clone url-you-copied

For eg: git clone https://github.com/your-github-username/hacktoberfest-first-pr.git

where your-github-username is your GitHub username.

3.Create a branch

Change to the repository directory on your computer (if you are not already there): `cd hacktoberfest-first-pr

Now create a branch using the git checkout command: git checkout -b <add-your-full-name>

For example: git checkout -b add-anthony-gonzalviz

4.Make necessary changes and commit

Now open Contributors.md file in a text editor. Refer to this cheat sheet which gives information on how to use Markdown which is used to write in GitHub MD files

In this case, add the following line at the end of Contributors.md:

- [Your-name](https://github.com/Your-username)

Make sure there is no space between ]( . Save the file.

Go again to git bash and go to project directory and execute the command git status, you'll see there are changes which are unstage. Add those changes to the branch you just created using the git add command:

git add Contributors.md

Now commit those changes using the git commit command:

git commit -m "Add <your-name> to Contributors list"

For Example: git commit -m "Add John Doe to contributors list"

Caution: Don't forget to add -m it specifies message to commit. If you forget it will take you to vim terminal which is difficult to operate.

5.Push changes to GitHub

Push your changes using the git push command: git push origin <add-your-name>

replacing <add-your-name> with the name of the branch you created earlier.

6.Submit your changes for review

Now go to your repository on GitHub, you'll see a New pull request button. Click on that button. It will compare your branch with the original repository. Check if the comparing branch is your created branch

Now submit the pull request.

Soon I'll be merging all your changes into the master branch of this project.


Cheers ๐Ÿ˜

You created your first contribution to open source ๐Ÿ‘


If you like this please star this repository


What Next??

  • You can work on other projects just search the organisation you like and see for "Good First Issue". -To start of FreeCodeCamp is a good place they need help with guide and Non-Profit projects Link

Note : Always read ReadMe.md file of the projects it contains the instructions for working up and setting up of the projects.

Resources

Here some good and free tutorials to learn

  1. Git/GitHub

  2. HTML & CSS

hacktoberfest-first-pr's People

Contributors

goelaakash79 avatar rhnmht30 avatar pratikbutani avatar bhadauria avatar sjtly16 avatar ss100ev avatar shrynshigupta06 avatar ritiksr25 avatar rishabhmaheshwari7 avatar srinivaspathipati avatar romy701kumari avatar ritik005 avatar babutzc avatar ketanvishwakarma avatar dmackgl avatar anushkaagrawal23 avatar anshul1507 avatar abdulamite avatar shivaniaakanksha 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.