All Projects → nirbhayvashisht → first-pr-repo

nirbhayvashisht / first-pr-repo

Licence: MIT license
A step by step guide to help people make their first Pull Request

Projects that are alternatives of or similar to first-pr-repo

hacktoberfest20
Participate in Hacktoberfest by contributing to any Open Source project on GitHub! Here is a starter project for first-time contributors. #hacktoberfest20. Don’t forget to read the README.md for guidance.
Stars: ✭ 18 (-37.93%)
Mutual labels:  first-timers, pull-requests, hacktoberfest2020
github welcome wall
This is the official repository for the Towards Data Science Article, "WTH am I doing here? The absolute beginner's guide to Git and GitHub"
Stars: ✭ 25 (-13.79%)
Mutual labels:  first-timers, beginners, beginners-guide
Alexa-skills-starters
💻 A collection of super cool Amazon Alexa skills for complete newbies. 💻
Stars: ✭ 24 (-17.24%)
Mutual labels:  starter, beginners, hacktoberfest2020
Learning Resources
Beginner-friendly repository to make your first Pull Request and contribute to the open-source.
Stars: ✭ 40 (+37.93%)
Mutual labels:  first-timers, easy
github-readme-quotes
Dynamic quote generator for your GitHub readmes | Give a poetic touch to readmes
Stars: ✭ 128 (+341.38%)
Mutual labels:  first-timers, hacktoberfest2020
Script
Making it easy to write shell-like scripts in Go
Stars: ✭ 1,946 (+6610.34%)
Mutual labels:  first-timers, easy
data-science-notes
Open-source project hosted at https://makeuseofdata.com to crowdsource a robust collection of notes related to data science (math, visualization, modeling, etc)
Stars: ✭ 52 (+79.31%)
Mutual labels:  first-timers, first-timers-only
HacktoberFest2020
🤗Feel free to submit a PR💻 to have it merged and get a free Hacktoberfest tee👕 from Github🔮. Updated as per new guidelines✔️
Stars: ✭ 22 (-24.14%)
Mutual labels:  pull-requests, hacktoberfest2020
StartHub
Bootstrap your search for career!
Stars: ✭ 30 (+3.45%)
Mutual labels:  first-timers, beginners
FreeCodeCamp-Projects
This repo is for coders who are looking to contribute & participate in Hacktoberfest. Please do star the repo if y'all liked it!
Stars: ✭ 30 (+3.45%)
Mutual labels:  first-timers, beginners
RestaurantReactApp
This is a responsive website that uses PWA app standards, completely created with React, React router and firebase
Stars: ✭ 59 (+103.45%)
Mutual labels:  first-timers-only, hacktoberfest2020
Automatic-attendance-management-system
ROLLCALL an automatic and smart attendance marking and management system which uses Microsoft Azure’s Cognitive service at its core to create a system that could make sure that no human intervention is required and provides government the ability to monitor the attendance of the schools and helps the government officials in mark fake schools.
Stars: ✭ 44 (+51.72%)
Mutual labels:  first-timers, hacktoberfest2020
Hacktoberfest-Learning
Get started with Hacktoberfest 2020 with your first easy PR; just add an html page about yourself or edit sample html page to get started with open-source
Stars: ✭ 15 (-48.28%)
Mutual labels:  first-timers, hacktoberfest2020
Hacktober-2019
Repo for TOM members dedicated for the Hacktober fest of 2019 (6th edition), this repo is here to encourage open source learning and sharing and enhance git/github using abilities.
Stars: ✭ 16 (-44.83%)
Mutual labels:  first-timers, easy
Awesome-Scripts
A collection of awesome scripts from developers around the globe.
Stars: ✭ 135 (+365.52%)
Mutual labels:  first-timers, hacktoberfest2020
Hacktoberfest
Hacktoberfest 2020 Beginner's Friendly Repository
Stars: ✭ 46 (+58.62%)
Mutual labels:  pull-requests, hacktoberfest2020
mac-dev-setup
An easy script to install your mac dev environment
Stars: ✭ 38 (+31.03%)
Mutual labels:  first-timers, easy
Hacktoberfest-2021
Make this Hacktoberfest a learning period and contribute to Great Open Source Projects.
Stars: ✭ 523 (+1703.45%)
Mutual labels:  pull-requests, hacktoberfest2020
J.A.R.V.I.S
Just A Rather Very Intelligent System
Stars: ✭ 36 (+24.14%)
Mutual labels:  beginners, hacktoberfest2020
motivate
⚡ motivate ⚡ - A simple script to print random motivational quotes. Highly influenced by linux command fortune.
Stars: ✭ 24 (-17.24%)
Mutual labels:  easy, hacktoberfest2020

This Repository will help people make their first Pull Request

repo stars forks badge pull requests badge GitHub issues GitHub contributors GitHub

Hello Developer

Let's help you submit your first pull request. Just follow the steps given below

Step 1

The first step you want to do in-order to contribute to an open source project is to fork the project. This will create a copy of the project under your account.
You'll see the fork option on the top right hand side of the screen.

  • Click on the fork button.
Fork Button Image fork button Image

Step 2

Now, you have to clone the forked repository. This will create a local copy of the project on your machine.

You can do this in 2 ways:

Code Button and Clone Options Image Code Button Image
  1. OPTION 1
  • Click on the clone button.
  • Download the ZIP and then extract it.
  1. OPTION 2
  • Click on the clone button.
  • Copy the link under HTTPS section.
  • Open terminal/git bash/command prompt.
  • Type -
git clone
  • Now paste the link.
  • The resulting command should look something like this:
git clone https://github.com/YOUR_USERNAME/first-pr-repo.git
Cloning though git bash fork button link

Step 3

Let's start working on the project now! We need to change directory into cloned folder by typing the following command.

cd first-pr-repo

Now, BEFORE CHANGING ANYTHING, make sure you're working on a different branch and not in master. To create a new branch, from the terminal inside your current project directory type the following command.

git branch YOUR_GITHUB_USERNAME-profile

Obviously you'll have to replace the YOUR_GITHUB_USERNAME with your GitHub username.
(You can give any name to your branch which describes the purpose of the branch. Since here we're adding your profile to the profiles directory, we'll simply give the name of the branch as above. eg: git branch nirbhayvashisht-profile. )
Once you have created the new branch we'll change the current branch from master to your newly created branch.
Execute the following command on your terminal.

git checkout YOUR_BRANCH_NAME
It should look like this. (With your chosen names ofcourse) Branching procedure

Step 4

  • Move into the profiles directory in cloned project.
cd profiles
  • Create a new file called YOUR_USERNAME.md using the following command.
touch YOUR_USERNAME.md
  • Navigate into the project directory (through your file manager) and open this file in your favourite editor.
  • fill the details as shown below:
---
username: YOUR_USER_NAME
fullname: YOUR_FULL_NAME
---
  • Save and clone the file.
Your file should look something like this(With your names ofcourse markdown file image

NOTE: This is just a way of simulating - you making changes into the project file.

Step 5

  • Now we need to stage all the changes we made.
  • Open the terminal again and inside the project directory and execute following commands.
git add .
  • The above command staged all the changes, now we need to commit them with a suitable message. You can commit using the following command.
git commit -m "YOUR_COMMIT_MESSAGE"

Example:

git commit -m "Hey, I just added my profile in the profiles directory"
Commiting Image Commiting Image

Step 6

Let's push the changes to your repository on GitHub! Execute the following command to push all the changes to the forked copy in your GitHub account.

git push -u origin YOUR_BRANCH_NAME

Step 7

Now open your github account to make a pull request.

  • Click on compare and pull request.
pr button

  • Write a meaningful description and click on Create Pull Request.

Congratulations! You just created your first pull request🥳

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].