For updating a forked branch on Github or any other git related system. First you need to clone your forked branch on your local machine because there is no any one click updater solution.
First clone
1 |
git clone git@github.com:AN-USERNAME/YOUR-FORKED-REPO.git |
Get into cloned folder
1 |
cd my-fork-repo |
Add a Remote Upstream and Fetch everything
1 2 |
git remote add upstream git://github.com/ORIGINAL-RESOURCE/REPO.git git fetch upstream |
Pull this new version onto your old forked branch;
1 |
git pull upstream master |
Now you can check the version on your local repository with; (I assume there is a version file to read)
1 |
cat VERSION |
Push everything into your remote Git repository;
1 |
git push origin master |
Done.