origin, upstream

satya - 4/15/2018, 10:41:26 AM

Origin, Upstream

Origin, Upstream

Search for: Origin, Upstream

satya - 4/15/2018, 10:44:31 AM

origin

The repo on the server that you have cloned from is known on your local machine configuration as a remote that is named "origin"

A convention

The origin thus is a reference

An origin reference points to the URL of the server repo

satya - 4/15/2018, 10:57:10 AM

An SOF topic on origin and upstream

An SOF topic on origin and upstream

satya - 4/15/2018, 11:01:05 AM

Upstream


An origin is yours
An origin is where you sync your work with a server
You and Origin - Happy pair

Upstream is where the origin itself is cloned from
You can see upstream as read only

You can always 
  fetch from up stream 
  work on it 
  push to origin

Apparently

//from upstream
git fetch upstream

//for origin
git pull
git push

satya - 4/15/2018, 11:01:40 AM

Here is a picture they gave

satya - 4/15/2018, 11:14:39 AM

Here is GitHub help on Pull requests

Here is GitHub help on Pull requests

satya - 4/15/2018, 11:16:20 AM

Understand Github Flow

Understand Github Flow