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

Re: git pull (Re: need advice on usage patterns)

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jul 26, 2010, 14:17 UTC
Message-ID
<20100726141752.GA1745@burratino>
In-Reply-To
<AANLkTikPHARaosHLwaKUqL12va4F7O3WMp1I4LIpu7Mp@mail.gmail.com>
Ævar Arnfjörð Bjarmason wrote:
> On Mon, Jul 26, 2010 at 03:36, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 5 quoted lines
>> -'git pull' <options> <repository> <refspec>...
>> +'git pull' <options> <repository> <branch>...
>
> Wasn't it "refspec" because git-pull can take args like
> "refs/remotes/origin/*:refs/heads/*", not just branch names?

Yes, by abuse of language that might be called the noble lie (or something; notice later where it says "<branch> can be an arbitrary refspec). Better ways to achieve the same effect would be welcome.

Previous: Geoff Russell
Message 8 of 8 in “need advice on usage patterns”
  1. Geoff RussellJul 26, 2010
  2. git pull (Re: need advice on usage patterns)Jonathan Nieder, Jul 26, 2010
  3. Thomas RastJul 26, 2010
  4. Jonathan NiederJul 26, 2010
  5. Thomas RastJul 27, 2010
  6. Ævar Arnfjörð BjarmasonJul 26, 2010
  7. Geoff RussellJul 26, 2010
  8. Jonathan NiederJul 26, 2010

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.