Skip to content

Project Merge Request Command

dpi edited this page Aug 19, 2021 · 4 revisions

dogit project:mr [project] [directory]

This command will either fetch and checkout or clone a merge request branch.

The project name as found in the URL of the project must be known, or the target directory must contain a composer.json file with project in the drupal/ namespace. Alternatively if you already know the issue you want to clone then use the Issue Merge Request Command.

When the target directory is already a repository, a fetch and checkout will be initiated. Otherwise if the target directory is not a repository, then a clone will be initiated. Omit directory argument or use . for current working directory.

Clone this wiki locally