Re: sharing between local "work" and "nightly build" git repos
- From
- David Frech <nimblemachines@gmail.com>
- Date
- Jul 13, 2007, 00:27 UTC
- Message-ID
- <7154c5c60707121727k36854891u82afc4a8be822861@mail.gmail.com>
- In-Reply-To
- <7vmyy1rwza.fsf@assigned-by-dhcp.cox.net>
On 7/12/07, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> "David Frech" <nimblemachines@gmail.com> writes: > If you are willing to redo the nightly repository from scratch, > I would probably recommend using --reference option when > cloning, like this: > > $ git clone --reference ~david/git git://git.kernel.org/... ~/nightly-git > $ cd ~/nightly-git > $ git checkout --track -b next origin/next > > Then a nightly update would go like this: > > $ cd ~/nightly-git > $ git pull origin next > $ make clean > $ make test || barf
This makes sense, including the --track, which I neglected to set.
Could you, for my sake and the list's (if others are as confused) be clearer about the distinctions among -l, -s, and --reference? Exactly what they do, and their orthogonality (or lack of) really isn't clear from reading the man page.
Thanks for your help! I'll set this up and hopefully start running it tonight.
If the build or test barfs, who should get the mail?
BTW, I figured out a sneaky way (using filters in Gmail) to send it thru my Gmail account, so I won't have any issues with sending via SMTP from a dynamic IP.
Cheers,
- David
-- If I have not seen farther, it is because I have stood in the footsteps of giants.