Re: HEADS UP: FreeBSD src repo transitioning to git this weekend

John Kennedy <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm,gmane.os.freebsd.current
Message-ID <[email protected]>
Attributions are really confusing at this point...

On 2020-Dec-22, at 13:06, bob prohaska <fbsd at www.zefox.net> wrote:
> bob@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://[email protected]/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/*' \
		[email protected]: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.

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.