All patches that are being sent to any of the development mailing lists will automatically be submitted to Patchwork.
After that, you should change to your Git repository that you want to connect with Patchwork and run the following commands:
git config pw.server "https://patchwork.ipfire.org/api/1.2/" git config pw.project "ipfire" # or whatever is appropriate (see https://patchwork.ipfire.org)
To set up authentication, create an API key in your account settings if not already done so and configure it like so:
git config pw.token "API-TOKEN..."
You can list patches by running the following command:
git pw patch list
You will see list of submitted patches with various information around them and their ID.
You can apply a patch by their ID:
git pw patch apply ID
pip3 install git-pw ↩