Denis Machard

My technical gists

Infrastructure architect by profession but always consider himself as a developer and an open source enthusiast.
@github @mastodon @rss

Contribution guide to open source project

GitHub Fork & Pull Request

Fork the project you want to contribute

Clone your fork to your local machine

git clone git@github.com:USERNAME/FORKED-PROJECT.git

Add ‘upstream’ repo to list of remotes

git remote add upstream https://github.com/UPSTREAM-USER/ORIGINAL-PROJECT.git

Verify the new remote named ‘upstream’

git remote -v

Fetch from upstream remote

git fetch upstream

View all branches, including those from upstream

git branch -va

Checkout your master branch and merge upstream

git checkout master
git merge upstream/master

Create a new branch named newfeature (give your branch its own simple informative name)

git branch newfeature

Switch to your new branch

git checkout newfeature

Finally make changes in the code

propulsed by hugo and hugo-theme-gists