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

Re: More help with "pull" please

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 2, 2009, 02:24 UTC
Message-ID
<7viqlnokrv.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<F364AB31-EC5B-4719-834E-58613BDBC433@dbservice.com>
Tomas Carnecky <tom@dbservice.com> writes:
Show 8 quoted lines
>> OK, that works by adding something to the config file, right?  The
>> docs
>> don't say, but does mention "having Pull: <refspec> lines for a
>> <repository>".  Does tracking add Pull: lines, or is that another
>> feature?
>
> I think Pull: lines are not used anymore in newer
> repositories.

If your repository is using .git/remotes/origin to name the "origin" remote, they are still honored. But you are correct to point out that branch.<name>.remote and with the remote.<name>.* variables in .git/config are used to control these more recent features. So in that sense the documentation is still correct.

Previous: John DlugoszNext: John Dlugosz
Message 6 of 8 in “More help with "pull" please”
  1. John DlugoszApr 1, 2009
  2. Tomas CarneckyApr 1, 2009
  3. John DlugoszApr 1, 2009
  4. Tomas CarneckyApr 1, 2009
  5. John DlugoszApr 1, 2009
  6. Junio C HamanoApr 2, 2009
  7. John DlugoszApr 2, 2009
  8. Tomas CarneckyApr 2, 2009

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.