Date: Tue, 22 Dec 2020 14:18:10 -0800 From: Bakul Shah <bakul@iitbombay.org> To: David Wolfskill <david@catwhisker.org> Cc: freebsd-git@freebsd.org Subject: Re: Src repository is available on git.freebsd.org Message-ID: <0C3B8F33-851B-4513-815A-09F33EF96DE8@iitbombay.org> In-Reply-To: <X%2BJtOK1HU4l7JU5B@albert.catwhisker.org> References: <CAKBkRUwDdBJcrY0vj-WB_=pmyezq592E%2BJ-PULXO9tD4skkcCA@mail.gmail.com> <1527634C-4E31-4325-BB93-BDFF0C8ADB8C@iitbombay.org> <X%2BJtOK1HU4l7JU5B@albert.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 22, 2020, at 2:03 PM, David Wolfskill <david@catwhisker.org> = wrote: >=20 > On Tue, Dec 22, 2020 at 01:51:39PM -0800, Bakul Shah wrote: >> I have been tracking cgit-beta.freebsd.org since September. >> What is the process for switching over to git.freebsd.org? >> I thought there were instructions for that but I can't find them any = more! >> Thanks. >> .... >=20 > I aqssumed(!) that the hashes would be different, so I moved aside the > repo I had from cgit-beta and cloned a new one (from git.freebsd/org), > then removed the old one once I was satisfied that the new one was OK. Forgot to add that I wanted to switch over *without* blowing away 3.2GB of local git bits. Hashes shouldn't change unless something major got redone. Comparing hashes from my local repo with = https://cgit.freebsd.org/src/commit/ I see they are the same. > A couple of caveats: > * I'm not a committer; I merely use the repo a a "source of truth" for > updating machines locally, and I never have any commits to be pushed > anywhere. Same here. >=20 > * I actually used "git clone --mirror" (as noted in > https://www.catwhisker.org/~david/FreeBSD/repo-sync.html); I then > clone from that mirror to make working copies. There are certainly > other ways to accomplish this; some may be better for some folks. I don't quite do this because I am tracking -current and -stable locally and am using worktrees so as to avoid keeping multiple local git copies. AFAIK a mirror would blow away any local changes.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0C3B8F33-851B-4513-815A-09F33EF96DE8>