Skip to content

Latest commit

 

History

History
65 lines (49 loc) · 1.29 KB

CONTRIBUTING.md

File metadata and controls

65 lines (49 loc) · 1.29 KB

Contribution Guidelines

  1. Fork the repo

  2. Clone your fork

  3. Sync your local master

    3.1.

    git remote add upstream [email protected]:lifeparticle/Markdown-Cheatsheet.git

    3.2.

    git fetch upstream

    3.3.

    git branch --set-upstream-to=upstream/main main

    3.4.

    git pull
  4. Create a branch

    git branch issue-2 # use issue_number, replace issue-2 with appropriate branch name 
    git checkout issue-2
  5. Push your changes to your fork with git push

    git add .
    git commit -m"Write a meaningfull commit message"
    git push
  6. Create a pull request

    5.1 Use the url from the terminal

    remote: Create a pull request for 'issue-2' on GitHub by visiting:
    remote:      https://github.com/........................

    5.2 If you're haveing problem finding the url

    a) https://github.com/lifeparticle/Markdown-Cheatsheet/pulls
    
    b) Click the button 'New pull request'
    
    c) Click the link 'compare acorss forks'
    
    d) Change head repository to your fork
    
    e) Change the branch to your branch
    
    f) Create pull request
    
  7. Repeat

    git checkout master
    git pull