[Github] How to update a forked repository to the latest state
I’ll show you how to update a forked repository on Github to the latest state.
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.