HEADS UP: FreeBSD src repo transitioning to git this weekend
John Kennedy
warlock at phouka.net
Tue Dec 22 22:27:41 UTC 2020
Attributions are really confusing at this point...
On 2020-Dec-22, at 13:06, bob prohaska <fbsd at www.zefox.net> wrote:
> bob at www:/usr % git clone cgit.freebsd.org -b stable/12 freebsd-src
On 2020-Dec-22, at 13:31, Mark Millard <marklmi at yahoo.com> wrote:
> I cloned FreeBSD's src.git via:
> git clone -o freebsd --config remote.freebsd.fetch='+refs/notes/*:refs/notes/*' ssh://anongit@git.freebsd.org/src.git freebsd-src
Bob, like mark, I replicated -CURRENT from git by:
cd /usr/src
git clone -o freebsd --config remote.freebsd.fetch='+refs/notes/*:refs/notes/*' \
anongit at git.FreeBSD.org:src.git .
git config pull.ff only
git pull -v
Special callout... that "-o freebsd" and the "--config remote.freebsd.fetch"
are related (changing the origin label), and if you don't have them in sync you
won't pull down the refs/notes, so you git logs won't have all the details and
some of the detailed info (rev, commit Id, total refs) won't show up normally.
I don't think https was working when I initially tried, but this worked.
More information about the freebsd-arm
mailing list