Meetup 002 – 23.05.2018

Hosted by: moz://a Community Space Berlin

WordPress Tech Workshop Git/GitHub


Getting started


Preparation: Fork a repo on GitHub

Clone your fork of the repo:

git clone

Add remote as upstream:

git remote add upstream

List available remotes:

git remote -v

The output should look something like this:

origin (fetch)
origin (push)
upstream (fetch)
upstream (push)

Fetch potential changes from upstream:

git fetch upstream

Compare upstream to master:

git diff upstream/master

Merge upstream into master:

git merge upstream/master

Delete remote:

git remote rm upstream

Push the changes to your fork on GitHub:

git push origin master

Next: Create a pull request on GitHub

Further reading