-
Fork the repo
-
Clone your fork
-
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
-
Create a branch
git branch issue-2 # use issue_number, replace issue-2 with appropriate branch name git checkout issue-2
-
Push your changes to your fork with git push
git add . git commit -m"Write a meaningfull commit message" git push
-
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
-
Repeat
git checkout master git pull