Operating System | |
---|---|
Windows | winget install git.git |
MacOS | git --version |
Ubuntu(Debian) | sudo apt install git |
Arch | sudo pacman -S git |
git config --global user.name <github username>
git config --global user.email <email used for github>
Contributing to open-source is easy.
-
-
Feel free to Star:star: the repo, if you like it.
-
Click on
fork
button in the right corner.It will create a copy of repository in your account. -
Creating the copy of repository
-
Check here How to fork
-
-
You can clone your repository in your local pc with use of Github_Desktop application or for your Terminal/bash.
For Terminal -
git clone <url_name>
-
Make what change you want to make in Repo. It can be spelling mistake, code correction or anything.
You can also upload your program to respective folder. It can be anything "Hello world program", "Rock Paper Scissors",etc.
All Repository are open for contributions.
-
-
Go to the
Pull requests
section and Click theNew pull request
button. -
Click the
Create pull request
to compare your copy of the repo with the real one. -
Write a
Title
,Leave a comment
and clickCreate New PR
button to merge the PR. And, that's it!
New to Open Source? Don't know how to
Create a Pull Request
? read this documentation. -