Place for beginners to make their first pull request.
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 by clicking the fork button on the top of this page.
This will create a copy of this repository in your account.
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.
git clone <URLYOUCOPIED>
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
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 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.
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