[pnfs] Newbie Question
J. Bruce Fields
bfields at fieldses.org
Mon May 14 23:09:10 EDT 2007
On Mon, May 14, 2007 at 04:09:04PM -0700, Iyer, Rahul wrote:
> I don't currently have a public one, but having one at linux-nfs.org
> might be helpful. Do you have a doc about how I can go about doing that?
http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#setting-up-a-public-repository
has some basics. Supposing you have a repository in ~/linux:
# make a bare repository:
git clone --bare ~/linux linux.git
# copy it to linux-nfs.org, however's easiest:
scp -r linux.git linux-nfs.org:
# put it in ~/exports on linux-nfs.org, make it exportable.
ssh linux-nfs.org
mkdir exports
mv linux.git exports/
cd exports/linux.git
touch git-daemon-export-ok
exit
# test: you should get a list of branches:
git ls-remote git://linux-nfs.org/~iyer/linux.git
OK, you could just do a clone at that last step, but the ls-remote is
a faster test.
Tom Tucker went through this just a few days ago so may remember some
step I've left out....
--b.
More information about the pNFS
mailing list