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