#!/bin/sh # Clone BigPipe contrib module into core/modules/big_pipe, remove git history. cd core/modules git clone --branch 8.x-1.x https://git.drupal.org/project/big_pipe.git cd big_pipe rm -rf .git # Remove unwanted files. rm composer.json # Create patch. cd ../../.. git add core/modules/big_pipe git diff --staged > bigpipe-2469431-CID.patch