If the patch does not apply, and you perhaps are getting a 'Skipped patch. See the git apply documentation for more information. One useful one is -v, which gives a more verbose output: In ~/.gitconfig:Īlso, there are many command-line arguments to the git apply command.
123456-some-bugĭownload the patch file from the issue, and apply the code changes in the patch to your working directory (the following commands assume you're in a terminal window in the project's root directory). Note: You can also use the drupalorg-cli tool to create an issue branch and apply the patch.
This page outlines a workflow for downloading and applying patches to a local workspace, based on local 'topic branches'.