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://anon...@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/*' \
                anon...@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.

_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to