Follow the instructions in order:
-
Fork this repository.
-
Clone your fork, using
git clone https://github.com/nlok5923/contribute.git
-
Change Directory to
contribute
, usingcd contribute
-
Create a branch named
add-{github-username}
, usinggit checkout -b add-{github-username}
-
Add a
.txt
file with file name as your github username inside_post
folder the format of the file should be same as ofsample.txt
in_post
folder. -
Now add this file to your staging area, using
git add _post/{filename}.txt
-
Now commit the changes using,
git commit -m "Add username {github-username}"
-
Push the changes using,
git push
-
Open a pull request: As soon as the changes will be pushed, GUI of repository's main page will show a yellow banner saying you too open a Pull request, just click on it and you are done.