Sync GitHub fork with upstream master

As a GitHub newbie I had no clue how to sync my fork with upstream master repo. I had the following notice on my forked repo:

This branch is 35 commits behind
This branch is 35 commits behind

So after googling, the solution were some GIT commands:

More info at GitHub’s help page help.github.com/articles/syncing-a-fork/

I thought fork master will be auto-updated with upstream master.
Everyday I learn something new 🙂

Advertisements

Author: Michal Zuber

Full stack developer, biker and rollerblader. Owner and developer at https://nevilleweb.sk/ Co-founded http://neville.sk/ Blog at https://michalzuber.wordpress.com/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s