Skip to content

Place for beginners to make their first pull request

License

Notifications You must be signed in to change notification settings

sujal-pawar/first-contributions

 
 

Repository files navigation

project logo

First Contributions

Place for beginners to make their first pull request.

GitHub contributors

Prerequisites

You must have git installed & set up on your computer.
Download Git from git-scm.com

Instructions for connecting your computer to your GitHub account

Fork this repository

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

Fork Button

Clone the repository

Now clone the forked repository in your GitHub account to your computer. Go to your forked repository on GitHub website, click the code button and then click the copy to clipboard icon.

Clone Menu

Copy URL Button

Open a terminal and run the following git command:

git clone <URLYOUCOPIED>

Create a branch

Change to the repository directory on your computer (if not already there)

cd first-contributions

Now, create a branch using git branch command. Use your username for the branch name.

git branch branch_name

Switch to the newly created branch

git checkout branch_name

Make necessary changes

Now open Contributors.md file in a text editor & add your entry to it. Put it anywhere in between and save the file.

If you execute git status, you'll see there are changes.

Add those changes to the branch you just created using the git add command.

git add Contributors.md

Commit those changes using the git commit command

git commit -m "Add YOURNAME to Contributors list"

Push changes to GitHub

Push your changes to your fork by running

git push origin main

Now if you go to your repository on GitHub, you'll see a Compare & pull request button. Click it.

Now submit the Pull Request.

Soon, your changes will be merged into the main branch of this repository. You'll get a notification email once your changes have been merged.

Next Steps

Congratulations 🎉!
You just completed the standard fork -> clone -> edit -> PR workflow that you'll use often.

Inspired by first-contributions


A project by Association of Computer Engineering Students, DIT Pimpri

aces logo

About

Place for beginners to make their first pull request

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published