Skip to content

Issue Patches to Git Branch Command

dpi edited this page Feb 5, 2022 · 5 revisions

dogit convert issue-id working-directory version-constraints

Notice

You will need to manually git fetch all branches the conversion command will need to interact with! See also #47

Examples

Working complex example

dogit convert 2350939 . ">=8.8.0" -vvvrd -e 79 -e 152 -e 177 will create a Git branch from Issue 2350939 into the Drupal repository at . (Current working directory) directory, omitting patches from comment 79, 152, 177, where patches are against Drupal versions higher than 8.8.0, running in debug mode (-vvv) while resetting the local repository if its not clean (-r), and if the branch exists will delete it (-d).

Help

dogit convert --help