Skip to content

buildandtell/learnPR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Learn PR

This repository contains a list of members participating in Hacktoberfest Guwahati.

Instructions

Note:

  • PRs to this repository will not be counted towards your 4PRs for Hacktoberfest, this is just for learning.
  • If you have never used Git or GitHub, it is highly recommended to read the articles mentioned in the Reading Material section.

Supporting video for the following steps: https://youtu.be/aR4KPfCEtrQ

  1. Fork this repository

  2. Clone your repository locally

    git clone https://github.com/<username>/learnPR
  3. Create a new branch

    git checkout -b add-name-<username>
    # For example,
    git checkout -b add-name-einstein
  4. Create a new file inside the directory names/ with the filename: <username>.md and add your profile links from various sites in the <username.md> file. See files under names/ for an example. (The three spaces represented by the dot . here)

    - [<username>](https://github.com/username)
    ...- Blog Link
    ...- Twitter Link
    ...- LinkedIn Link
    ...- [OPTIONAL] Dribble/CodePen/Stack Overflow or any other web presence
  5. Add the file to the staging area

    git add names/<username>.md
  6. Commit your file

    git commit -m "Add name - <username>"

    If you see a warning like this, you most probably have not configured git correctly. 😞

    *** Please tell me who you are.
    
    Run
    
    git config --global user.email "[email protected]"
    git config --global user.name "Your Name"
    
    to set your account's default identity.
    

    If you see this warning, you're suggested to go through the Reading Material, if you have not already, as this step is given in Part 1! Anyways, as given in the warning, you need to run the two commands

    git config --global user.email "[email protected]"
    git config --global user.name "Your Name"
  7. Push the branch you created to GitHub

    git push origin add-name-<username>
  8. Check the changes are reflected in your repository - https://github.com/<username>/learnPR

  9. Create a Pull Request on the original repo(https://github.com/buildandtell/learnPR) 🚀

  10. Do Star ⭐ this repo to show some love. 🤩

Reading Material

Cheat Sheet - https://education.github.com/git-cheat-sheet-education.pdf