Re: RFC: How to I set up a branch of main that I can "publish"?
- In reply to: Rick Macklem : "Re: RFC: How to I set up a branch of main that I can "publish"?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Jul 2026 00:49:10 UTC
On Sat, Jul 4, 2026 at 3:48 PM Rick Macklem <rick.macklem@gmail.com> wrote: > On Sat, Jul 4, 2026 at 2:19 PM Warner Losh <imp@bsdimp.com> wrote: > > > > > > > > On Sat, Jul 4, 2026 at 3:16 PM Rick Macklem <rick.macklem@gmail.com> > wrote: > >> > >> Hi, > >> > >> I now have a rather large # of commits authored by Vinicius Ferrao > >> for NFS-over-RDMA. They are currently in his fork of freebsd-src > >> on github.com. > >> > >> I do have a simpleton mechanism to get them into a local branch > >> of main, but I do not want to push them to main yet. > >> (Actually, I'd be happy to push them into main, but I have as yet, > >> no way of testing them.) > >> > >> Is there somewhere I can push this stuff so others can clone it? > >> (I can push it to a fork I have of freebsd-src on github.com, but > >> I don't know how to push that to "main"?) > >> > >> I'm git clueless, so any suggestions would be appreciated, rick > > > > > > So usually what people do is to create some named branch (nfs-over-rdma). > > They then push that to a fork of FreeBSD they've setup on their github. > > They then point people at that branch for testing and collaboration. We > don't > > currently allow WIP branches to be pushed either to our source of truth > repo > > or our github mirror. > Ok, I know how to do the above. What I don't know how to do is get that > into > main? (When you say "named branch" is that a branch of a github fork > of freebsd-src > or a named branch of my local clone of main? If it is the latter, I > can see how I can > push it when the time comes, but can I push that to my fork on github?) > git rebase -i main nfs-over-rdma git push freebsd HEAD:main is the simplest way to do that (assuming the FreeBSD source of truth upstream is called 'freebsd'). Or is there something more basic I need to help with? I usually run my branches through Phabricator so I use "git arc stage" to do much the same thing. Warner