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

Re: Making note, in the repository, of push/pull relationships

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 16, 2005, 20:45 UTC
Message-ID
<Pine.LNX.4.63.0508162241150.19656@wgmdd8.biozentrum.uni-wuerzburg.de>
In-Reply-To
<20050816160327.GA20016@hpsvcnb.fc.hp.com>
Hi,
On Tue, 16 Aug 2005, Carl Baldwin wrote:
> So, just a question.  What, exactly, is meant by 'cross-pulling'?

When I say "cross-pulling" I mean that a branch is pulled from a remote repository, where the named head is called "a", but that reference is pulled into the local branch whose head is "b".

Example:
--snip--
> git-ls-remote-script junio

abe0582207c72ec848e78707577c61a98f5c633d refs/heads/master c506e5687b9257c6182950f245d58cf839abfae4 refs/heads/pu 1f40c7c24d999675df818f9d7824937a964f9f40 refs/heads/rc 0918385dbd9656cab0d1d81ba7453d49bbc16250 refs/tags/junio-gpg-pub d6602ec5194c87b0fc87103ca4d67251c76f233a refs/tags/v0.99 f25a265a342aed6041ab0cc484224d9ca54b6f41 refs/tags/v0.99.1 c5db5456ae3b0873fc659c19fafdde22313cc441 refs/tags/v0.99.2 7ceca275d047c90c0c7d5afb13ab97efdf51bd6e refs/tags/v0.99.3 b3e9704ecdf48869f635f0aa99ddfb513f885aff refs/tags/v0.99.4

> git-pull-script junio pu:temporary-proposed-updates
[...]
> echo .git/refs/heads/temporary-proposed-updates

c506e5687b9257c6182950f245d58cf839abfae4 --snap--

So, the remote branch "pu" gets cross-pulled to the local branch "temporary-proposed-updates", i.e. to a local branch of a different name.

Ciao, Dscho

Previous: Carl BaldwinNext: Junio C Hamano
Message 4 of 8 in “Making note, in the repository, of push/pull relationships”
  1. Carl BaldwinAug 15, 2005
  2. Johannes SchindelinAug 15, 2005
  3. Carl BaldwinAug 16, 2005
  4. Johannes SchindelinAug 16, 2005
  5. Junio C HamanoAug 16, 2005
  6. Carl BaldwinAug 16, 2005
  7. Junio C HamanoAug 16, 2005
  8. Carl BaldwinAug 16, 2005

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.