Git newbie question - What's the best way publish WIP to github w/o PR-ing yet?

I am new to git and curious the best way to accomplish what I am trying here. I have pulled down the source and I am stumbling through adding support for an unsupported router. The ultimate goal is to PR it but it is far from done. I have my changes local branch I would like to put it on github somewhere so I can post links to it as I work through it and have questions on the forum. Any recommendations? Should I just add a remote to my github area? Fork?

Thanks in advance for any tips or hints

Hopefully one of the more experienced devs will respond... that said here is my advice as a relatively recent user of git, github, and openwrt.

Fork as as soon as possible. Its possible to fork after cloning and making some changes to a cloned repository but, from experience, I've found it much easier to fork from the outset.

Spend some time researching how other openwrt developers structure their projects. I follow @hnyman as the r7800 is similar to the r7500v2 I'm playing with but there are other devs with public repositories.

Lastly if you have not already done so, consider starting off making modifications to an existing openwrt supported router (via git/github) rather than "jumping into the deep end" by trying to learn both git, openwrt, and a new router.

hth

1 Like

Open your own repo at GitHub, as a fork of OpenWrt. Push your WIP to your repo and share it with testers. And when it is ready, ask to merge your changes back into OpenWrt.

1 Like

To add into that good advice, open a thread about your device experiments into the "For developers" section in the forum and provide there links to your fork, so that you can get feedback & advice from others in a semi-structured interactive way.

Once you are "almost there", you could open a PR against OpenWrt and mark it as WIP in the title.

Thanks all. I will fork on github hopefully tonight. @hnyman . I have a thread going here. Pretty unorganized, does it work for this?

Sure it does.
The main point is getting people interested in your router to provide feedback.

Note that not so many people will have a rare device, so the feedback may be small. (Or there may just be generic non-specific feedback.)