From: Shawn O. Pearce Date: Sat, 13 Jan 2007 21:14:28 GMT Subject: Re: 1.5.0.rc1.gb60d: fetch in another branch works strangely Message-ID: <20070113211428.GA17749@spearce.org> In-Reply-To: <200701132106.l0DL6BPH008314@laptop13.inf.utfsm.cl> "Horst H. von Brand" wrote: > I created a new branch in the kernel to carry a not yet official patch, to > keep this up to date I do: > > $ git fetch git://git2.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git That's only writing into FETCH_HEAD whatever branch is marked as HEAD in Linus' repository. No local refs are being updated. > $ git pull . origin So this won't merge in the changes fetched above. Why not setup that URL as a remote (git remote add linus ....) Then you can do: $ git fetch linus $ git merge linus/master or $ git fetch linus $ git pull . linus/master or $ git pull linus master -- Shawn.