Repository for V2 plugins

Hi, I would like to port my plugin to V2; but I’m not a Git expert. Are there guidelines/instructions to publish the new V2 plugin code (or simply the updated plugin.json) on GitHub? Is it better to create a new repository? Is it better to use some GIT features on the original repository (fork ?!?)

Thanks in advance

You can create a new branch (called v2 or similar) and do your v2 work there.

1 Like

Yeah. Later, if needed, you can easily merge back to your main branch. Or just make v2 the default branch for your repo (I think).

1 Like

Ok, thank you ! I just compiled the modules without errors with only a minor change in code; I’ll test them tomorrow and publish them in a “v2” branch.