[Github] How to update a forked repository to the latest state

Tadashi Shigeoka ·  Thu, July 25, 2013

I’ll show you how to update a forked repository on Github to the latest state.

GitHub

Let’s say you want to update a repository forked from CocoaPods/Specs to the latest master.

You can specify the repository and do git pull as shown below.

git pull [email protected]:CocoaPods/Specs.git

Or,

git pull [email protected]:CocoaPods/Specs.git master

That’s all from the Gemba.