git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git pull origin doesn't update the master

From
Aneesh Kumar <aneesh.kumar@gmail.com>
Date
Apr 10, 2006, 06:45 UTC
Message-ID
<cc723f590604092345r7d0e2cedr8f9838d054ecb023@mail.gmail.com>
In-Reply-To
<7vr7469c4n.fsf@assigned-by-dhcp.cox.net>
On 4/10/06, Junio C Hamano <junkio@cox.net> wrote:
Show 15 quoted lines
> "Aneesh Kumar" <aneesh.kumar@gmail.com> 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
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 6 in “git pull origin doesn't update the master”
  1. Aneesh KumarApr 10, 2006
  2. Aneesh KumarApr 10, 2006
  3. seanApr 10, 2006
  4. Junio C HamanoApr 10, 2006
  5. Aneesh KumarApr 10, 2006
  6. Junio C HamanoApr 10, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.