From: Aneesh Kumar Date: Mon, 10 Apr 2006 06:45:36 GMT Subject: Re: git pull origin doesn't update the master Message-ID: In-Reply-To: <7vr7469c4n.fsf@assigned-by-dhcp.cox.net> On 4/10/06, Junio C Hamano wrote: > "Aneesh Kumar" writes: > > > While updating the git code base the master branch is not getting > > updated. First look tell me that the below commit is the issue > > a9698bb22fb7b66e5882c3a5e7b2b8b53ea03f90 > > > > git-pull.sh does > > git-fetch --update-head-ok "$@" || exit 1 > > Yes, this was done as an response to an explicit request from > Andrew Morten. > > What Sean said about "pu" branch is correct. > > Sean suggestion worked for me. Work flow is now a bit complicated. I clone the repository. Now i need to edit remotes/origin to make sure what all branches i need to follow. And then do a git pull origin. Earlier i just need to do a clone and a git pull. I don't need to fast forward pu branch. But then i need to get the update of master branch. since git-fetch fails update pu branch git pull origin fails to update master branch also which i am really interested. -aneesh