Searching the net does not give many results, but from some of them I've got the general idea: I just need to add a new remote to track changes in the fork, then merge in the changes so the whole thing was just few commands away :)
Initial situation
git branch -a
* master
origin/HEAD
origin/master
Add new remote and fetch data
git remote add -f hugues git://github.com/hugues/
New situation
git branch -a
* master
hugues/master
origin/HEAD
origin/master
(Optionally) review commits in the new remote with:
[giallu@bingo supybot-mantis]$ git log -p ..hugues/master
Everything ok, merge from the forked repo
git merge hugues/master
Finally push to github
git push
No comments:
Post a Comment