ru24.pro
News in English
Август
2024

Downloading a patch file

0
Downloading a patch file from a merge requestYou can download a patch file directly from an issue by clicking the plain diff link at the top of an issueOr, while on the MR page from the Plain diff button in the download menu of an MR (See screenshot).You can also get a patch file for any merge request by appending .patch to the end of the url. For example, if this is your merge request:https://git.drupalcode.org/project/drupalorg/-/merge_requests/17add '.patch'https://git.drupalcode.org/project/drupalorg/-/merge_requests/17.patch to get a patch url to download the patch. Do not use the patch URL directly, read the warning below for more information.The patch resulting from adding .patch has separate changes for each commit. When the MR is long and has several changes to the same files, including file renames, the resulting patch file may not be useable. In this situation, you can replace .patch with .diff to get a simpler patch file with each file only appearing once but containing con...