|
From: Michael B. <mic...@gm...> - 2012-07-05 05:09:23
|
On 5 July 2012 14:20, Justin Deoliveira <jde...@op...> wrote: > >> (2) I got all the new branches from the geotools repo with "git fetch". >> What is the right way to push branches into my forked personal remote on >> github? Check them out and then push them? Is their an easier way to >> mass-update a forked personal repository with upstream branches? Is there >> any reason to do so? > > > I don't ever use git fetch directly. Git pull is a "git fetch" + "git merge" > all in one. I find it easier and safer to just always use pull. Like Ben, I used git fetch to get the branches that were not yet known by my local repo or my developer fork because I thought that for such a situation you are not merging into anything and so wouldn't use git pull. Rather you just want to get the refs to the new branches so that you can then do a checkout and push to fork on each. But maybe that's just a round-about way of doing the same thing. Michael |