github.com/zaquestion/lab@v0.25.1/docs/lab_mr_checkout.md (about)

     1  ## lab mr checkout
     2  
     3  Checkout an open merge request
     4  
     5  ### Synopsis
     6  
     7  Checkout an open merge request using the MR's source branch name as
     8  local branch name; this behavior can be changed using --branch
     9  option.
    10  
    11  ```
    12  lab mr checkout [remote] [<MR id or branch>] [flags]
    13  ```
    14  
    15  ### Examples
    16  
    17  ```
    18  lab mr checkout origin 10
    19  lab mr checkout upstream -b a_branch_name
    20  lab mr checkout a_remote -f
    21  lab mr checkout upstream --https
    22  lab mr checkout upstream -t
    23  ```
    24  
    25  ### Options
    26  
    27  ```
    28    -b, --branch string   checkout merge request with <branch> name
    29    -f, --force           force branch and remote reference override
    30    -h, --help            help for checkout
    31        --http            checkout using HTTP protocol instead of SSH
    32    -t, --track           set branch to track remote branch, adds remote if needed
    33  ```
    34  
    35  ### Options inherited from parent commands
    36  
    37  ```
    38        --debug      Enable debug logging level
    39        --no-pager   Do not pipe output into a pager
    40        --quiet      Turn off any sort of logging. Only command output is printed
    41  ```
    42  
    43  ### SEE ALSO
    44  
    45  * [lab mr](lab_mr.md)	 - Describe, list, and create merge requests
    46  
    47  ###### Auto generated by spf13/cobra on 27-Jun-2022